code: def get_protocol(self, protocol):
          
          result = self.get_protocols(protocol)
          if len(result) > 0:
              return result[0]
          return None
docs: Returns the firstly found protocol that matches to the
          specified protocol.