[tor-commits] [tor/master] prop224: Refactor pick_hsdir() to be used by both v2 and v3.