MULE-8018: Merge http connector code cleanup

Removing unnecessary code from listener