pub fn create_protocol_state( version: &str, connections: u32, capacity: Option<u64>, operational: bool, ) -> ProtocolState
Helper function to create a default ProtocolState with all required fields