added jsdoc for socket registry