MULE-8018: Merge http connector code cleanup

Can't we use InetSocketAddress instead of implementing this?