cocoa rest client