':param    key: API key (required)
:type     key: ``str``
:param    host: hostname for connection
:type     host: ``str``
:param    port: Override port used for connections.
:type     port: ``int``
:param    api_context: Optional API context.
:type     api_context: ``str``
:param    secure: Whether to use HTTPS or HTTP.
:type     secure: ``bool``
:rtype: ``None``'

def __init__(self, key, host=API_HOST, port=443, api_context=API_CONTEXT, secure=True):

    self.key = key
    self.secure = secure
    self.connection = self.connectionCls(key, secure)
    self.connection.host = host
    self.connection.api_context = api_context
    self.connection.port = port
    self.connection.driver = self
    self.connection.connect()
