[tor-commits] [tor/master] Introduce generic HS stats methods that apply to v2 and v3.