update Rest.php for restclient spark

fixed issue with trying to load wrong version of curl spark