'Get ServerProxy instance'

def _get_conn(self):

    if ((self.username is not None) and (self.password is not None)):
        if (self.schema == 'scgi'):
            raise NotImplementedError()
        if ('authtype' not in self.tp_kwargs):
            authtype = None
        else:
            authtype = self.tp_kwargs['authtype']
        if ('check_ssl_cert' not in self.tp_kwargs):
            check_ssl_cert = True
        else:
            check_ssl_cert = self.tp_kwargs['check_ssl_cert']
        if ('proxies' not in self.tp_kwargs):
            proxies = None
        else:
            proxies = self.tp_kwargs['proxies']
        return self.sp(self.uri, transport=RequestsTransport(use_https=self.isHttps, authtype=authtype, username=self.username, password=self.password, check_ssl_cert=check_ssl_cert, proxies=proxies), **self.sp_kwargs)
    return self.sp(self.uri, **self.sp_kwargs)
