Call the certificate check for this transport.
a smart transport
the certificate to pass to the caller
whether we believe the certificate is valid
the hostname we connected to
the return value of the callback