Implemented automatic protocol negotiation for tcp / websocket / spdy / http and additions as SSL / TLS, Snappy and GZIP compression