Title: Early Detection and Prevention of Vampire Attacks in Wireless Sensor Networks