Added Log-Output
Fix Divide by Null Exception
X509Certificate -> TLSCertificate; now extended from java.security.cert.X509Certificate