def __init__(self, url, timeout=None):

        """ Initialize the communication handler.
        """

        self.url = url
        self.timeout = timeout

        if sys.version < '3' and self.url.startswith("https"):

            # Force tlsv1 on https-requests in Python 2

            import tools.urllib2_tls
def __init__ ( self , url , timeout = None ) : self . url = url self . timeout = timeout if sys . version < '3' and self . url . startswith ( "https" ) : import tools . urllib2_tls
Initialize the communication handler.