[tor-commits] [tor/master] Simplify transport_is_needed.