'Makes the actual request for the client, for everything except auth'

def _request(self, method=u'get', params=None, data=None, files=None, cookies=None):

    if ((time.time() > (self.last_time + 1800)) or (not self.auth)):
        self.last_time = time.time()
        self._get_auth()
    log_string = u'{0}:    Requested    a    {1}    connection    to    url    {2}'.format(self.name, method.upper(), self.url)
    if params:
        log_string += u'?{0}'.format(urlencode(params))
    if data:
        log_string += u'    and    data:    {0}{1}'.format(str(data)[0:99], (u'...' if (len(str(data)) > 100) else u''))
    logger.log(log_string, logger.DEBUG)
    if (not self.auth):
        logger.log(u'{0}:    Authentication    Failed'.format(self.name), logger.WARNING)
        return False
    if isinstance(params, dict):
        for (key, value) in six.iteritems(params):
            if isinstance(key, six.text_type):
                del params[key]
                key = key.encode(u'utf-8')
            if isinstance(value, six.text_type):
                value = value.encode(u'utf-8')
            params[key] = value
    if isinstance(data, dict):
        for (key, value) in six.iteritems(data):
            if isinstance(key, six.text_type):
                del data[key]
                key = key.encode(u'utf-8')
            if isinstance(value, six.text_type):
                value = value.encode(u'utf-8')
            data[key] = value
    if isinstance(params, list):
        for (index, value) in enumerate(params):
            if isinstance(value, six.text_type):
                params[index] = value.encode(u'utf-8')
    if isinstance(data, list):
        for (index, value) in enumerate(data):
            if isinstance(value, six.text_type):
                data[index] = value.encode(u'utf-8')
    if isinstance(params, six.text_type):
        params = params.encode(u'utf-8')
    if isinstance(data, six.text_type):
        data = data.encode(u'utf-8')
    try:
        self.response = self.session.request(method.upper(), self.url, params=params, data=data, files=files, cookies=cookies, timeout=120, verify=False)
        self.response.raise_for_status()
    except Exception as error:
        helpers.handle_requests_exception(error)
        return False
    logger.log(u'{0}:    Response    to    the    {1}    request    is    {2}'.format(self.name, method.upper(), self.response.text), logger.DEBUG)
    return True
