A wrapper for the SMSGlobal REST API backported for PHP 5.2