fix typo in CurlRestCLient.php