```
Do not access `CNetAddr::ip` directly from `CService` methods.
This improvement will help later when we change the type of
`CNetAddr::ip` (in the BIP155 implementation).
```
Backport of core [[https://github.com/bitcoin/bitcoin/pull/19360 | PR19360]].
Depends on D9169.