code: function cookieToHeader(cookies) {
      const SEPARATOR = '; ';
      return cookies.reduce(function (previous, current) {
          return previous + current.name + '=' + current.value + SEPARATOR;
      }, '');
  }
docs: Transforms an array of cookies objects into a request header
  @param cookies {array}
  @returns {string}