connect to websocket through a list of ports
use 9 ports for websocket connections, and forward them to nginx