Intercept HTTP errors sent back by the server (work in progress)
Send HTTPClientError response in json using a specific view.