Error handling

When a rule throws an exception the proxy disables the rule.

If an encryption rule condition or action throws an exception, the exception is caught and the encryption rule is disabled. The proxy continues to evaluate the remaining rules in order as if the rule that threw the exception was not present. The exception is logged in the localhost log with a stack trace identifying the root cause of the problem.