Add alerts for invalid ssl certs

This patch was provided by dila in #xchat

It will show an alert on invalid certs to add
temp or permanent exceptions per server.
Improve ssl alerts