added scoped http client