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