A Best-Effort Adaptive Sampling Method for Flow-Based Traffic Monitoring