Starting template for a simple websocket chat client in node.js