added interface to http client