protected function cdnConnect()
    {
        $info             = Utils::parseUrl($this->cdnUrl);
        $this->cdnEnabled = true;
        $this->cdnClient  = new Client(array('timeout' => $this->timeout));
        $this->cdnClient->setUserAgent($this->userAgent);
        $this->cdnClient->setBaseURL(sprintf(
            '%s://%s:%d',
            $info['scheme'],
            $info['host'],
            $info['port']
        ));
    }