MULE-7062: It is not possible to send outbound attachments over http
(cherry picked from commit bd40cb5)