example of using sockets in nodejs with socket.io