MULE-8028 - adding support for mule client in http connector

Can you extract these lines into a "consumePayload" method?