Add getters to HttpError, to use it in tests.