Helpful helpers for socket.io / node.js