[sr-dev] git:master: core: function for getting the name of a protocol