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