added base class for http client