Character encoding autodetection

node-irc did not handle mixed character encodings very well. It replaced the characters that were not utf-8 with utf-8 replacement characters, thus making it impossible to decode the original content of the message. This commit enables automagical character encoding conversion to utf-8