This allows RPCs which take hostnames as parameters (such as the
'node' method) to interpret the host part as an interface name, and
use the first IP address associated with the interface. This is done
for consistency with how interface names may be used in the dcrd
application config.