rror('Invalid URL');
				}

				this.set('gpMainOpts.type', 'HTTP');
				this.set('gpMainOpts.target', tagsArr ? [ ...tagsArr, hostname ].join(delimiter) : hostname);
				this.set('gpHttpOpts.protocol', protocol.replace(':', '').toUpperCase());
				this.set('gpNotAppliedOpts.port', port);
				this.set('gpNotAppliedOpts.request.path', pathname !== '/' ? pathname : '');
				this.set('gpNotAppliedOpts.request.query', search.replace('?', ''));
				this.set('tagsArr', tagsArr ? [ ...tagsArr, hostname ] : [ hostn