Network traffic classification framework