node.js Socket.io chatroom example, doc from https://www.codeschool.com/courses/real-time-web-with-nodejs