change base64 endcode mechanism
Merge branch 'master' of github.com:isaacloud/php-sdk