Accept loopback interfaces in the network.host setting

Closes #2924. Adds support for loopback interfaces such as `_lo0_` in `network.host` and other network settings.