port and test p2ptrade protocol_objects