Make websocket connect to same server as HTTP