with curl httpclient replace simple httpclient