Experiments and example code for storing PHP sessions in an encrypted client side cookie