This makes it possible to register observers without creating a dependency from the peer manager. This will be used by the processor to handle the proof conflicts without creating a circular dependency, and without having the peer manager to know about what's done with these conflicting proofs.
This is extracted from D10027.
Ref T1854.