Accept loopback interfaces in the network.host setting

Closes #2924