A Statistical Approach to IP-level classification of network traffic