Updates to follow main branch & changes on logout

- Updated to include commit a86d7e48f1677e79f7abcdb546a565f241477cc2
from Arctium's main branch
- Logout management upgraded (thanks for your help & support, Fabi! ^^);
Instead a manager for all request, we'll create a task for each session.
- Fixed a duplicated standstatechange packet, sent at logout/logout
cancel
- Fixed calls by reference in almost all handlers/managers (only for
session parameter, atm)