configure socket.io to xhr-polling