readme link to right license
removed headerOptions array + minified to curl_setopt