Added support for mem limits
support for session inactivity timeout
support for inactivity timeout