Merge pull request #1245 from mulesoft/MULE-8044

MULE-8044 - fixing transfer encoding chunked for listneer
(cherry picked from commit 4d55a85f0c6169b86a61a385e18d065a84b9a432)