public static void initStatistics() {
        addReadBytesStat();
        addWrittenBytesStat();
    }
Creates and adds statistics to statistic manager.
xmppserver/src/main/java/org/jivesoftware/openfire/net/ServerTrafficCounter.java