Gzipped sessions (Take 2)

See pr #52 for take 1