Fix Pyro startup so it's more robust when looking for the IP address of an external network interface, and falls back to the loopback address (127.0.0.1) if it can't.