MULE-8018: Merge http connector code cleanup

Does not make more sense to use {@value #ACCEPT} to avoid the duplication?