Added more host-to-network and back conversions.