[tor-commits] [tor/master] Factor out and re-write code for splitting lines from a handle