Update client.php

removed reference to ApiException which is currently undefined