Energetic proton depletion near Io: atmospheric charge exchange and inhomogeneous magnetic and electric fields