Test that the certificate check callback gets the right fingerprint from the host we're connecting to.