Fix issues #48 - Can not connect to Websocket

Closes #48
What does this have to do with connecting to the websocket?