[SslErrorDialog] Add option to accept certificate permanently.

Closes #939