A machine learning approach to fingerprinting web traffic