fn client_config( key_pair: &KeyPair, peer_id: Option<PeerID>, cipher_suites: &[SupportedCipherSuite], ) -> Result<ClientConfig>