fixed websocket on remote hosts