move NAT type detection to download msg handler in interface