Move socket counting to io.sockets.sockets