Chg: allow to give options in the curl http adapter