MULE-8072: Return correct status code (500) when the target server is down in a proxy scenario. Increased receive timeout to avoid flakiness.

(cherry picked from commit e563ca9267e28eb085e024b9d796fba208ee9be9)
(cherry picked from commit d5a1ce0c0314d6291be6b14f71fbcf370ba75826)