Add port to websocket endpoint, fix #176