Small Socket.io client in nodejs