Loop over all network interfaces to get the IPAddress on iOS.
Use the loopback device for the non-proxy tests.