fixes #17823, add Add support for onProgress event when using Chunked Transfer Encoding