Websocket handshake with client.