Updated to write to redis using their protocol

Signed-off-by: Samuel Ward <samuelpward@gmail.com>