Replace ProtocolError::Lost(msg.to_string()) with ProtocolError::lost(msg) for consistent error construction across the protocol crate.
Replace ProtocolError::Lost(msg.to_string()) with ProtocolError::lost(msg) for consistent error construction across the protocol crate.