MULE-8018: Merge http connector code cleanup

this method is used only programmatically. It makes sense to recieve an URL instead of an String. Will change it.