mongo, node and sockets