[move only] Move BIP70 code together in preparation to backport PR14451 BIP70 changes
Summary:
Partial backport of Core PR14451, commit 38b98507cdda02ff02a524d41bcc3427ca9e4fd9
https://github.com/bitcoin/bitcoin/pull/14451/commits/38b98507cdda02ff02a524d41bcc3427ca9e4fd9
This was done out of order to keep all of the BIP70 related changes in one diff.
It was split out as a result of feedback in D4619.
Test Plan: ninja check
Reviewers: #bitcoin_abc, deadalnix, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D4668