This class implements a session handler that store session data in cookies. The cookie data is encrypted with a secret server side key to prevent sniffers from see its contents. The class buffers the page contents to be able to send the headers of new session cookie values before the page contents are served.