[tor-commits] [tor/master] Use {mock, unmock}_hostname_resolver() in relevant tests