public function setProxyAuth($username, $password, $authType = CURLAUTH_BASIC)
    {
        if (!empty($username) && !empty($password)) {
            $this->proxyUsername = stripslashes(trim($username));
            $this->proxyPassword = stripslashes(trim($password));
            $this->proxyAuthType = intval($authType);
        }
    }