still use the old/deprecated httpclient api