transports: fix WebSocket transport in the web browser
Merge pull request #186 from LearnBoost/fix/client-side-websocket-fail

transports: fix WebSocket transport in the web browser