constructor(url, parse) {
    // Construct the url with an un-parsed querystring
    super(url);

    if (parse) {
      // If we want the querystring to be parsed, use this.set('query', query)
      // as it will always parse the string. If there is no initial querystring
      // pass an object which will act as the parsed query.
      this.set('query', this.query || {});
    }
  }
An extended url-parse class that uses `qs` instead of the default
`querystringify` to support array and nested object query param strings.