Real time chat client with node.js, socket.io