Use current host as base to Websocket url

This should fix #693