Make a better guess for the default websocket URL
Merge pull request #4 from ivan/master

Make a better guess for the default websocket URL