MULE-8072: Return correct status code (500) when the target server is do...

...wn in a proxy scenario.
We also need to add a unit test method(s) to HttpResponseBuilderTestCase to assert the correct statusCode behaviuor for the different scenarios.