Device that protects electric circuits from overcurrent and overvoltage (optional) and/or leakage (optional)