fixed error handling in base client
fixed error handling in base client

dcarbone/cloudstack-php-client,myENA/cloudstack-php-client,qpleple/cloudstack-php-client,jasonhancock/cloudstack-php-client,dcarbone/cloudstack-php-client,phansys/cloudstack-php-client,jasonhancock/cloudstack-php-client,myENA/cloudstack-php-client,phansys/cloudstack-php-client