MULE-8018: Merge http connector code cleanup

But if thats the case, then i'd argue getUrl() isn't really a suitable name for this method, if whats it's returning isn't a URL.  Maybe worth considering if there is an alternative name, or if it can in fact return URL always.