properly parse jid from "from" field in presence stanzas