[Curl] setOptions should merge config items that can be arrays

Right now calling setOptions with a config item that is an array will completely overwrite the existing config option. Instead the two should be merged if they both happen to be arrays.