add curl options.