add debug output for client certificates
adding more exception handling for sqlite plugin