Moved ChatSession typedef
Added jid datatype