sockets with predis