Fix handling of api responses missing error_code

Alternate fix for https://github.com/wepay/PHP-SDK/pull/10