Per flow packet sampling for high-speed network monitoring