add some more debugging when reading X509 cert files for DTLS