Provide host name to certificate_check_cb

Verifying a certificate also requires the hostname of the host we're connecting to, thus, provide host name to certificate_check_cb
This actually isn't unused anymore.