protected function handleConnectGateway(string $gateway, array &$querystring) {
        if(!empty($querystring)) {
            if($this->compression !== '') {
                $compression = $this->compression;
                $querystring['compress'] = $compression::getName();
            }
            
            $this->gatewayQS = $querystring;
            $gateway = \rtrim($gateway, '/').'/?'.\http_build_query($querystring);
        }
        
        return $gateway;
    }