[tor-commits] [tor/master] relay: Refactor circuit_open_connection_for_extend()