Tests whether we're permitted to Dial the specified peer.
This is called by the network implementation when dialling a peer.
bool interceptPeerDial(PeerId peerId);