implete a part of handle_protocol & handle_protocol_SUITE