redis socket test sample