[IMP] im, im_chat, im_livechat : improve session fold state managmenet, keep it server side except for anonymous session (need to be better separate)