Fix incorrect websocket paths breaking access to the API

The existing code results in double-slash websocket paths, for example:

ws://ws.pusherapp.com:80//app/d20fddb74c58823cd05d?client=js&version=1.7.1

This pull request removes the extra slash. (Which is currently breaking all access to the API.)

Best,
Chris