High Impedance Fault Detection in Real-Time and Evaluation Using Hardware-In-Loop Testing