Fix for WebSocket handshake error in Chrome 30.X (#7)