Use location.host for websocket addr