[tor-commits] [tor/master] relay: Refactor can extend over IPv6 checks