mixed in some sockets.io goodness