Enable filtering getnodeaddresses by network.
Improve getnodeaddresses coverage, test by network
This concludes backport of core#21843
https://github.com/bitcoin/bitcoin/pull/21843/commits/6c98c099918bd20e2d3aa123643d6e3594e080e4 (feature)
https://github.com/bitcoin/bitcoin/pull/21843/commits/3f89c0e9902338ad8a507a938dceeeb3191eece6 (functional tests)
https://github.com/bitcoin/bitcoin/pull/21843/commits/ce6bca88e8c685c69686e0b8dc095ffc3e2ac34d (release note)
Depends on D11127