Allow passing custom options to curl handle