Fixes unexpected session end issue (2).
Fixes client handler functions. Added XML file list.