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 doesn't need to be here.