fixed a crash on receiving a QUIT
loosened up the channel regex
added basic SSL support (no certificate validation)