add socket.io configuration for xhr-polling