protected function _getUrl(KHttpUrlInterface $url)
    {
        if (!$url->getHost() && !$url->getScheme()) {
            $url->setUrl($this->getUrl()->toString(KHttpUrl::AUTHORITY));
        }

        return $url->toString(KHttpUrl::FULL, false);
    }