lightirc: add private messaging

* Also update handling of server settings to make it more foolproof
* Add some conditional checking to make sure my idiotic code doesn't NPE all over the place