Use same hostname and port for WebSockets as HTTP in webclient when non-local

This way it will should work regardless of where it is hosted, instead of having Casey's Heroku hostname hard-coded.