Simple php5 RESTful Client