self.connection is a instance of a class contained in connection_class, instantiated with arguments: self.host, self.port,
self . connection = connection_class ( self . host , self . port , ** connection_params )