[tor-commits] [tor/master] Refactor Single Onion code to improve consistency