'Construct a new InfluxDBClient object.'

def __init__(self, host=u'localhost', port=8086, username=u'root', password=u'root', database=None, ssl=False, verify_ssl=False, timeout=None, retries=3, use_udp=False, udp_port=4444, proxies=None):

    self.__host = host
    self.__port = int(port)
    self._username = username
    self._password = password
    self._database = database
    self._timeout = timeout
    self._retries = retries
    self._verify_ssl = verify_ssl
    self.use_udp = use_udp
    self.udp_port = udp_port
    self._session = requests.Session()
    if use_udp:
        self.udp_socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
    self._scheme = u'http'
    if (ssl is True):
        self._scheme = u'https'
    if (proxies is None):
        self._proxies = {}
    else:
        self._proxies = proxies
    self.__baseurl = u'{0}://{1}:{2}'.format(self._scheme, self._host, self._port)
    self._headers = {u'Content-type': u'application/json', u'Accept': u'text/plain'}
