Common Library for calling RESTful services in c#