code: function parseHeaders(headersArray) {
  
      var headers = {}, match
  
      for (var i = 0; i < headersArray.length; i++) {
          if (!(match = /([^:]+):[ \t]+(.*)/.exec(headersArray[i]))) continue
  
          headers[match[1].toLowerCase()] = match[2]
      }
  
      return headers
  }
docs: /* Internal: parse HTTP headers
  Since HTTP header names are defined to be case-insensitive, normalize header names
  to lowercase.
  
  headersArray - an array of strings representing the raw headers
  
  Returns an object with key-value pairs representing the normalized headers
  
  Examples
  
  parseHeaders(["Content-type: text/plain", "Authorization: Bearer DEADBEEF"])
  // { "content-type": "text/plain", "authorization": "Bearer DEADBEEF" }