use http instead of curl for dcurl