Add support of storing data in Redis

Maybe it's not in best shape, but should work as cookies support.