xmpp: fix resource creation with id