Merge pull request #239 from cwc/fixes

SSL port fix, env variable for client port and sqlite path.
Always catch errors. Node-irc still very unstable for me.
Fix for unread message counts.
Fix PrivateMessage var name
Print stack trace on uncaught exception