Fixed connection loss / failsafe detection, added decoding of two switches

Loss is tested, switch channels are not.