public function setHost($url)
    {
        if (filter_var($url, FILTER_VALIDATE_URL) === false) {
            throw new \InvalidArgumentException('Invalid Host URL');
        }

        $this->host = $url;
    }