MULE-8018: Merge http connector code cleanup

Yes, will change it to throw IOException, TimeoutException