Fixed jid handling to allow @ and / in resource