Ghani warns against ‘proxy war’