Added cookie based session support

Added a session object to the environment, which might or might not be used...