fixes ipv6 issue and improves library
Sets the hostmask if it changes on connect
Re-written connection and fixed a lot of bugs
Try and predict what the pre-message will be before sending a PRIVMSG, fixes #16 and makes us less embarrassed