Don't crash on invalid UTF8

Apparently this is the correct solution to the problem according
to the library author:

  https://bitbucket.org/jaraco/irc/issue/34/irc-client-should-not-crash-on-failed

Change-Id: Ie3661af84982bd54cebd1456b211cedb5495e2bb