Cybersecurity in Critical Infrastructure Systems: Emulated Protection Relay