Fixed HttpClient error codes