add headers property to HTTPError

Currently there is no way of setting additional headers when raising HTTPError