create httpclient interface