Display peer certificate when connecting to untrusted server

There is already a dialog/sheet to ask the user a confirmation when connecting
to an IRC server with self-signed/untrusted certificate, but this patch extends
it to display certificate information to allow the user to make a more informed
decision.