Add port number to websocket hostname