only connect to socket.io when necessary
use POST for initial connection request