follow http://socket.io/get-started/chat/, but with express 4, for issue #1