Base class to build simple object-oriented REST clients