maintain a simple class structure in redis across a socket connection