enhance debug log
update class Session
update ProxyServer, use the new Session class