Function type for determining whether to request dial data
typedef DataRequestPolicyFunc = bool Function(P2PStream stream, MultiAddr dialAddr);