quite crude patch to return the whole chain in case we could verify
a certificate.