MULE-8018: Merge http connector code cleanup

Use int. (Also HttpListenerBuilder also uses int)