code: function serializeHeaders(mHeaders) {
  		var sHeaderName,
  			aHeaders = [];
  
  		for (sHeaderName in mHeaders) {
  			aHeaders = aHeaders.concat(sHeaderName, ":", mHeaders[sHeaderName], "\r\n");
  		}
  
  		return aHeaders;
  	}
docs: Serializes a map of request headers to be used in a $batch request.
  
  @param {object} mHeaders
  A map of request headers
  @returns {object[]} Array representing the serialized headers