client commands:
#### I am using self generated certificates check step 4 in installation instructions
curl -k https://10.10.3.2/www-itec.uni-klu.ac.at/ftp/datasets/DASHDataset2014/BigBuckBunny/2sec/bunny_4219897bps/BigBuckBunny_2s1.m4s --http2 --key-type PEM --key cert.key --cert cert.crt --tlsv1.2 --resolve 10.10.3.2:443 >d
curl -k https://10.10.3.2/www-itec.uni-klu.ac.at/ftp/datasets/DASHDataset2014/BigBuckBunny/2sec/bunny_4219897bps/BigBuckBunny_2s1.m4s --http1.1 --key-type PEM --key cert.key --cert cert.crt --tlsv1.2 --resolve 10.10.3.2:9000 >d

system: Linux version 3.18.20-90-mptcp (root@panepistimio) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #0r04 SMP Tue Oct 20 14:32:03 CEST 2015
        Description: Ubuntu 14.04.5 LTS, Release: 14.04, Codename: trusty

curl_version: wget http://curl.haxx.se/download/curl-7.46.0.tar.bz2

mptcp_version: MPTCP: Stable release v0.90.0 (compatable with ubuntu trusty)

nginx server: nginx-1.15.7 (released in Nov 2018)


##############Installation Instructions ##############

#1 ##############

MPTCP installation instructions:
http://multipath-tcp.org/pmwiki.php/Users/AptRepository
wget -q -O - https://multipath-tcp.org/mptcp.gpg.key | sudo apt-key add -
sudo nano /etc/apt/sources.list.d/mptcp.list
deb https://multipath-tcp.org/repos/apt/debian trusty main
sudo apt-get update;sudo apt-get install -y linux-mptcp;sudo reboot
sudo apt-get update -y;sudo apt-get dist-upgrade -y
ip link set dev eth0 multipath off # to exclude unintended interfaces from mptcp
sudo nano /sys/module/mptcp_fullmesh/parameters/num_subflows #2

#2 ##############

Install libcurl and curl:
# https://serversforhackers.com/c/curl-with-http2-support
sudo apt-get install -y g++ make binutils autoconf automake autotools-dev libtool pkg-config \
  zlib1g-dev libcunit1-dev libssl-dev libxml2-dev libev-dev libevent-dev libjansson-dev \
  libjemalloc-dev cython python3-dev python-setuptools

# Build nghttp2 from source
git clone https://github.com/tatsuhiro-t/nghttp2.git
cd nghttp2
autoreconf -i
automake
autoconf
./configure
make
sudo make install

cd ~
sudo apt-get build-dep curl -y
wget http://curl.haxx.se/download/curl-7.46.0.tar.bz2
tar -xvjf curl-7.46.0.tar.bz2
cd curl-7.46.0
./configure --with-nghttp2=/usr/local --with-ssl
make
sudo make install
sudo ldconfig

#3 ##############

Install nginx:
cd
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.42.tar.gz
tar -zxf pcre-8.42.tar.gz
cd pcre-8.42
./configure
make
sudo make install
cd ..
wget http://zlib.net/zlib-1.2.11.tar.gz
tar -zxf zlib-1.2.11.tar.gz
cd zlib-1.2.11
./configure
make
sudo make install
cd ..
wget http://www.openssl.org/source/openssl-1.0.2q.tar.gz
tar -zxf openssl-1.0.2q.tar.gz
cd openssl-1.0.2q
sudo ./Configure linux-x86_64 --prefix=/usr
make
sudo make install
cd ..
wget https://nginx.org/download/nginx-1.15.7.tar.gz
tar zxf nginx-1.15.7.tar.gz
cd nginx-1.15.7

sudo ./configure --sbin-path=/usr/local/nginx/nginx --conf-path=/usr/local/nginx/nginx.conf --pid-path=/usr/local/nginx/nginx.pid --with-pcre=../pcre-8.42 --with-zlib=../zlib-1.2.11 --with-openssl=../openssl-1.0.2q --with-http_ssl_module --with-stream --with-http_v2_module --with-mail=dynamic
# replace nginx.conf file with the one in the attachments
sudo ./nginx

#4 Generate certificate:(have the same certificates on server and client)###

openssl genrsa 2048 > cert.key
openssl req -new -x509 -nodes -sha1 -days 365 -key cert.key -out cert.crt
Common Name (e.g. server FQDN or YOUR name) []:<server ip(10.10.2.1)>
openssl x509 -in cert.crt -out cert.pem -outform PEM
