allow specifying different connect port for websocket