The Beltrami equation and ring homeomorphisms