Updated the CurlAdapter to allow curl options to be passed in