HTTP errors are no longer wrapped and returned as HTTP 500.

For example, the unsupported media type exception (HTTP 415) thrown when the content-type is not correct was returned as HTTP 500. This is no longer the case and the original HTTP error is returned instead.