MULE-8018: Merge http connector code cleanup

This needs to be removed (sorry i doesn't do what i thought it did at the time)