Merge pull request #2464 from libgit2/cmn/host-cert-info Provide a callback for certificate validation