Move the curl context options to a method to make it easier to re-ruse.