Added get_protocol() method