Add the proof inventories in the inv messages. For now the proofs are
only added manually via the `sendavalancheproof` RPC.
This is heavily based on the current implementation for transactions.
Depends on D9648 and D949254.
Supersedes D9489 and D9493.
Ref T1611.