using the new http client