Socket.IO server and communication protocol