A survey on smart grid metering infrastructures: Threats and solutions | Synapse