MessageEncoder: lower IOException log level

Change-Id: I7c6eaae3fdb5f87a095722f5b8ed005b460f90cc
diff --git a/utils/netty/src/main/java/org/onlab/netty/MessageEncoder.java b/utils/netty/src/main/java/org/onlab/netty/MessageEncoder.java
index fe89039..88bec40 100644
--- a/utils/netty/src/main/java/org/onlab/netty/MessageEncoder.java
+++ b/utils/netty/src/main/java/org/onlab/netty/MessageEncoder.java
@@ -15,6 +15,7 @@
  */
 package org.onlab.netty;
 
+import java.io.IOException;
 import java.nio.charset.StandardCharsets;
 
 import org.slf4j.Logger;
@@ -67,7 +68,11 @@
 
     @Override
     public void exceptionCaught(ChannelHandlerContext context, Throwable cause) {
-        log.error("Exception inside channel handling pipeline.", cause);
+        if (cause instanceof IOException) {
+            log.debug("IOException inside channel handling pipeline.", cause);
+        } else {
+            log.error("non-IOException inside channel handling pipeline.", cause);
+        }
         context.close();
     }
 }