Adding initial handshake over websocket between client and server.