[tor-commits] [tor/master] Make is_local_addr() mockable