MULE-8006: Adding logic and tests to include encoding data on events use...

...d by listener and requester.