[tor-commits] [tor/master] Make get_proxy_type() connection-specific