isProtectedConnection method
Implementation
bool isProtectedConnection(TransportConn conn) {
// Get peer ID from connection and check if it's protected
final peerId = conn.remotePeer;
final protections = _protections[peerId];
return protections != null && protections.isNotEmpty;
}