Connection optimization: we now use unix socket with redis in case of client run on the same machine.