@Override
        public synchronized void reset() throws IOException {
            originalStream.reset();
        }
Original input stream being wrapped to count incmoing traffic.
xmppserver/src/main/java/org/jivesoftware/openfire/net/ServerTrafficCounter.java