Adding function __get_protocol_options