Update smart-http client to new APIs