code: def _unpack_headers(self, headers):
          
          return dict((k,v[0]) for (k,v) in headers.getAllRawHeaders())
docs: Unpack twisted.web.client.Headers object to dict. This is to provide
          backwards compatability.