The continuous classical Heisenberg ferromagnet equation with in-plane asymptotic conditions. I. Direct and inverse scattering theory