http2 add hpack decode support

Signed-off-by: Andy Green <andy.green@linaro.org>
http2 hpack basic decode ok including huff

Signed-off-by: Andy Green <andy.green@linaro.org>
http2 able to send test.html to nghttp2

Signed-off-by: Andy Green <andy.green@linaro.org>
trac 89 add flag on fatal send fail to use simple close

Signed-off-by: Andy Green <andy.green@linaro.org>
ssl allow externally managed SSL_CTX

Signed-off-by: joseph.urciuoli <trac90@UNKNOWN.org>
ssl clean recent external CTX patch so doesnt break build

Signed-off-by: Andy Green <andy.green@linaro.org>
http2 handle flags

Signed-off-by: Andy Green <andy.green@linaro.org>
http2 track content length add END_STREAM

Signed-off-by: Andy Green <andy.green@linaro.org>
http2 working nghttp fetch multi files completely

Signed-off-by: Andy Green <andy.green@linaro.org>
add newline on libwebsockets.c for ancient compilers

Signed-off-by: Andy Green <andy.green@linaro.org>
http2 dont use incoming END_STREAM when sending headers

Signed-off-by: Andy Green <andy.green@linaro.org>
Subject: [PATCH] Initialize openssl during client initialization.
http2 alpn npn pollout

This adds npn / alpn support if your openssl can handle it.
Then, browsers that understand alpn will by default
negotiate http/1.1 and work as normal.

Clients that understand http2.0 can negotiate h2-14 and
use the basic but working http2.0 support automatically

Signed-off-by: Andy Green <andy.green@linaro.org>
Subject: [PATCH] Fix minor typos in code documentation
openssl update deprecated remove_state api

As suggested by svetlin-mladenov here

https://github.com/warmcat/libwebsockets/issues/186

Signed-off-by: Andy Green <andy.green@linaro.org>
http2 padding and ping to autopong

Signed-off-by: Andy Green <andy.green@linaro.org>
Subject: [PATCH] fixes for handling multiple protocols in handshake
Subject: [PATCH] ssl fix self-singed certificate acceptation
clean remove debug spew outside http2

Found by Drew Noakes at
https://github.com/warmcat/libwebsockets/issues/190

Signed-off-by: Andy Green <andy.green@linaro.org>
http2 window update

Signed-off-by: Andy Green <andy.green@linaro.org>