fixed notices with debug string which uses non-scalar values
set CURLOPT_SSL_VERIFYHOST default option to 2 instead of 1 since 1 is removed in cURL 7.28.1 (see http://php.net/curl_setopt)
Merge pull request #1 from Degola/master

Fixed some notices