Simple chat application based on socket.io and node.js