Corrected bug in websocket handshake with most recent Chrome version