Add own get_myaddress function, which prefers loopback device.