IrcSession: fix SSL connections
IrcSession: fix SSL connections

It turns out that some servers require the certificate to be requested.
QSslSocket::QueryPeer does that, but the certificate still doesn't need
to be valid. Furthermore, QSslSocket::startClientEncryption() must be
delayed until the connection is established.

jpnurmi/libcommuni,jpnurmi/libcommuni,communi/libcommuni,communi/libcommuni