X509_VERIFY_PARAM_set_hostflags is available in 1.0.2-beta2

fixes #1295
fix warnings caused by signature changes from beta1 to beta2
Merge pull request #1296 from reaperhulk/fix-1295

X509_VERIFY_PARAM_set_hostflags is available in 1.0.2-beta2