'Initializes instance variables.
@type host: str
@param host: Hostname or address to connect to
@type port: int
@param port: Port number to connect to
@type path: str
@param path: Path to UNIX socket to connect to
@type password: str
@param password: Password
@type timeout: int
@param timeout: Connection timeout
@note: host/port and path should not be specified at the same time'

def __init__(self, host=None, port=None, path=None, password='', timeout=5):

    assert (bool((host and port)) ^ bool(path))
    (self._host, self._port, self._path, self._password, self._timeout) = (host, port, path, password, timeout)
    self._s = None
