Refectory on Session options

Moving all session options to instance variables, and removing from Threaded local.

Just left the class options on the Threaded local, which is wrapped in a Proxy, so the cleaning operations should be safe.