Update RestClient.php

set CURLOPT_RETURNTRANSFER to true
Merge pull request #3 from mskiba/patch-1

Update RestClient.php