Fix more cases of HTTPError.reason