MULE-7012: HTTP/HTTPS outbound endpoints ignore the keep-alive attribute

(cherry picked from commit 6faef06)
(cherry picked from commit 04718967477f305cb333c023d853ea189634e1b0)