fn validate_peer_auth(
    auth: AuthenticatedNodeId,
    nonce: &[u8]
) -> Result<NodeId, ConnectError>