Anomaly Detection using similarity in Packets