private boolean isConnectionReset(Throwable t) {
        return (t instanceof SocketException)
            && "Connection reset".equalsIgnoreCase(t.getMessage());
    }
Decoder that parses ByteBuffers and generates XML stanzas. Generated
stanzas are then passed to the next filters.
xmppserver/src/main/java/org/jivesoftware/openfire/nio/NettyXMPPDecoder.java