Add request.getHeader and request.removeHeader

Node exposes functions to get and remove request headers. They are mentioned [here](http://nodejs.org/api/http.html#http_class_http_clientrequest). The xhr object doesn't expose similar functions so I had to introduce the `_headers` object and shift a few code blocks around.