Remove inaccurate header size calculation from StatisticsCollectingHandler
cleanup
Ignore VM specific things in StatisticsCollectingHandler