Slightly reorganizing SocketIO provider.