[tor-commits] [tor/master] Split consensus-request parsing into a separate function