API Version, CURL security tweaks