[tor-commits] [stem/master] Refactor payload parsing (unpacking) into separate method