MULE-8162: HTTP listener fails with NPE when the message is filtered out
(cherry picked from commit af7ee58)
MULE-8142: Fixed compilation issue
(cherry picked from commit 5dbad5f)