Socket.IO command line chat server and client on Node.js