now the resource binding part is separated from the main loop
it is positionned after the authentication loop and before the main one
we also now use the full jid instead of bare one to map to session's queue