Comet sockets example