works with chunked bodies...must cover last two cases for body length