Automatic Detection of Node-Replication Attack in Vehicular Ad-hoc Networks