=htc Improve handling of `Transfer-Encoding` header, closes #15490