fix for response with content_length

updating remaining based on amount read, not just chunk size