[tor-commits] [tor/master] Refactor DirPort & begindir descriptor checks