Support Http headers and error responses properly.
Merge branch 'http-headers-and-errors' of github.com:alxhub/angular.dart into http-headers-and-errors