A near-death experience turned into a miraculous survival story for Harry the six-year-old cockapoo