We should set jid and fulljid on the conn object before calling onconnect,
and returning.