Extract Session class.
Extract Proxy class.
Quick and dirty session logging.