PHP Web Service Client for REST API