Text this: Cyber vulnerabilities in smart grid and safety measures for energy meters in advanced metering system and smart meter communications