get rid of httpi http client, using original curl instead