Silence httpclient logging. Handle http errors.