'Called to create a new connection with proper configuration.
Intended for internal use only.'

def connection_factory(self, address, *args, **kwargs):

    kwargs = self._make_connection_kwargs(address, kwargs)
    return self.connection_class.factory(address, self.connect_timeout, *args, **kwargs)
