MULE-8018: Merge http connector code cleanup

I think it should reuse the interfaces we already have