Fixing CURLOPT_SSL_VERIFY_HOST

According to PHP's documentation, that option accepts integer values and not boolean.
On production environments, 2 should be used as default.

http://php.net/manual/en/function.curl-setopt.php

Recently, libcurl entirely removed support for 1. More info on:

https://bugs.php.net/bug.php?id=63795
http://www.serverphorums.com/read.php?7,620892