Update sockets.md

Fixed incorrect signatures for "introduce" and "publish" methods.