made a real working example that works on freenode
(freenode doesn't require ssl, so made ssl
wrapping an optional feature). also removing pid
on run completion
Merge remote-tracking branch 'origin/master'