add HttpResponse interface for errors derived from http responses.
Merge branch 'bryan/add-response-data-to-errors'