Also replace the two-line (send_message + sync_with_ping) with the one-line send_and_ping
https://github.com/bitcoin/bitcoin/pull/18247/commits/faf1d047313e71658fb31f6b94fdd5d37705ab85
---
Depends on D6384
Concludes backport of Core [[https://github.com/bitcoin/bitcoin/pull/18247 | PR18247]]