Real-time chat demo using node.js with socket io