Added AddOption function to set parameters to be passed to cURL