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