Use specified host and port, even when socket.io is not initially available