[#1] add support for custom curlopts to be set for all curl requests