Move network conversions out of API router Upstream-commit: d912e9460e287238f879de791595193543ab2202 Component: engine
InitRouter