Fix JID parsing. Ensure only 3 parts at most.

This fixes cases when a user sets their nickname in a MUC to their JID.
This ensures only the first @ and / are split.