MULE-8018: Merge http connector code cleanup

setSuccessStatusCode makes more sense. I will change it.