Many of the getaddrinfo and gethostby tests require network access to do
DNS resolution and connectivity checks. Require allow_network_access
so the tests aren't run unless requested.
This speeds up test runs by several minutes when the config variable is
not defined and increases reliability as well in scenarios where Internet
connectivity is flaky or slow.
MFC after: 1 week