sample node chat application (from Node.js in Action)