Text this: A n efficient mechanism to detect and mitigate an ARP spoofing attack in software-defined networks