The chat application from SocketIO documentation