MULE-8142 - Adding logic to consume the complete input when tranfer-enco...

...ding is chunked and content is multipart