I got reports from users that had issues with the module if their PHP didn't support the mcrypt extention. I added this to the if clause, and the JSON is now unencrypted for those who lack the support. I will inform users that are missing the extention so that they have the possibility to upgrade.
Optional Integration with private message module. If user send an offline chat then it will be sent to recipient as private message too when next cron run