title: Connection reset when large ASCII as UTF-8 msg is sent in an IRC chatroom
body: <p>I'm running a java irc bot for twitch chat. I sometimes receive ASCII art messages that crash the bot. I did a stack trace on it and this is what I'm getting:</p>
  
  <pre><code>java.net.SocketException: Connection reset
      at java.net.SocketInputStream.read(Unknown Source)
      at java.net.SocketInputStream.read(Unknown Source)
      at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
      at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
      at sun.nio.cs.StreamDecoder.read(Unknown Source)
      at java.io.InputStreamReader.read(Unknown Source)
      at java.io.BufferedReader.fill(Unknown Source)
      at java.io.BufferedReader.readLine(Unknown Source)
      at java.io.BufferedReader.readLine(Unknown Source)
      at com.ircbot.Bot.InputThread.run(InputThread.java:69)
  </code></pre>
  
  <p>The msg is similar to this: 
  ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  </p>
  
  <p>On Notepad++ it says length: 943 and ASCI as UTF-8. I'm wondering if the server connection is being closed or the client connection is closing cause of the length of the msg. When I trim the ASCI art down by 4 characters the msg goes through without the Connection being reset.</p>
  
  <p>Any ideas?</p>