[tor-commits] [tor/master] Fix unit tests on systems without IPv4 or localhost addresses