fix(http): truncate streaming responses to content length (#36496)