rm dead code
add jid resource as option
jsonify arrays recursily
add message xep
echo messages just for fun