Goal is to prevent war from spilling into NATO territory, U.S. envoy says