Version bump to ensure it gets picked up by Moodle.
Changed some of the curl_setopts bits to work correctly, and checked for missing strings.