IrcConnection: attempt to detect SSL errors

Emit IrcConnection::secureError() when either QSslSocket emits
sslErrors(), or when the server closes the connection without
sslErrors() being emitted, meaning that the server is not
SSL-enabled.
IrcConnection: no auto-reconnect on SSL errors
Make IrcConnection::close() also stop auto-reconnect