[tor-commits] [tor/master] Refactor begin cell parsing into its own function, with tests.