Self-learning classifier for internet traffic