Protocols.DNS.client should also consider /etc/hosts.
Sometimes hosts are hidden behind proxies or need to be simulated. In those cases it is useful to be able to add corresponding entries to /etc/hosts
(or equivalent). Currently it is complicated to access stuff that needs correct host headers but via an alternative IP-number.
Adjust Protocols.DNS.client()->gethostbyname()
et al to also consider /etc/hosts
.