protected function isSyntacticallyValid(): bool
    {
        if (!parent::isSyntacticallyValid()) {
            return false;
        }

        if (!$this->parsedUri->schemeEquals(Http::SCHEME)
          && !$this->parsedUri->schemeEquals(Http::SCHEME_SSL)) {
            return false;
        }

        return true;
    }