Added RESTClientBase class.