MULE-8018: Merge http connector code cleanup

a method in http can be any string. So we are modeling that by returning String.