Added method to set cURL options and override class defaults