[tor-commits] [tor/master] hs: Refactor the service exit connection code