Implemented websocket handshake, generalization of HTTPMessage