Parameter interaction: disable upnp if -proxy set
Parameter interaction: disable upnp if -proxy set

To protect privacy, do not use UPNP when a proxy is set. The user may
still specify -listen=1 to listen locally (for a hidden service), so
don't rely on this happening through -listen.

Fixes #2927.

Conflicts:
	src/init.cpp

Rebased-From: 8c35b6f3be218101630101806300cfd75be23f58
Github-Pull: #6153

octocoin-project/octocoin,PIVX-Project/PIVX,OmniLayer/omnicore,capitalDIGI/DIGI-v-0-10-4,crowning-/dash,mockcoin/mockcoin,truthcoin/blocksize-market,florincoin/florincoin,ivansib/sibcoin,Electronic-Gulden-Foundation/egulden,ColossusCoinXT/ColossusCoinXT,joulecoin/joulecoin,ColossusCoinXT/ColossusCoinXT,Bloom-Project/Bloom,tropa/axecoin,keesdewit82/LasVegasCoin,jtimon/elements,schinzelh/dash,ArgonToken/ArgonToken,Darknet-Crypto/Darknet,sipa/elements,Petr-Economissa/gvidon,mycointest/owncoin,Mrs-X/Darknet,puticcoin/putic,ingresscoin/ingresscoin,ivansib/sibcoin,diggcoin/diggcoin,pstratem/elements,putinclassic/putic,joulecoin/joulecoin,HeliumGas/helium,Kenwhite23/litecoin,biblepay/biblepay,Vsync-project/Vsync,upgradeadvice/MUE-Src,Rav3nPL/doubloons-0.10,puticcoin/putic,keesdewit82/LasVegasCoin,Vsync-project/Vsync,HeliumGas/helium,koharjidan/litecoin,pelorusjack/BlockDX,RyanLucchese/energi,pelorusjack/BlockDX,schinzelh/dash,genavarov/lamacoin,pascalguru/florincoin,mycointest/owncoin,truthcoin/blocksize-market,worldbit/worldbit,schinzelh/dash,sipa/elements,my-first/octocoin,gwillen/elements,crowning-/dash,droark/elements,PandaPayProject/PandaPay,schinzelh/dash,pstratem/elements,capitalDIGI/litecoin,Petr-Economissa/gvidon,Mrs-X/PIVX,mapineda/litecoin,NunoEdgarGub1/elements,ediston/energi,grumpydevelop/singularity,rdqw/sscoin,OmniLayer/omnicore,fussl/elements,pelorusjack/BlockDX,diggcoin/diggcoin,CoinProjects/AmsterdamCoin-v4,genavarov/lamacoin,keesdewit82/LasVegasCoin,apoelstra/elements,dashpay/dash,projectinterzone/ITZ,axelxod/braincoin,upgradeadvice/MUE-Src,ahmedbodi/test2,worldbit/worldbit,xuyangcn/opalcoin,ingresscoin/ingresscoin,genavarov/ladacoin,ArgonToken/ArgonToken,pstratem/elements,ahmedbodi/test2,Bloom-Project/Bloom,thelazier/dash,octocoin-project/octocoin,ticclassic/ic,koharjidan/litecoin,ColossusCoinXT/ColossusCoinXT,pinkevich/dash,Rav3nPL/doubloons-0.10,genavarov/lamacoin,NunoEdgarGub1/elements,dev1972/Satellitecoin,UdjinM6/dash,slingcoin/sling-market,HeliumGas/helium,axelxod/braincoin,nmarley/dash,jmgilbert2/energi,dmrtsvetkov/flowercoin,DMDcoin/Diamond,projectinterzone/ITZ,slingcoin/sling-market,RyanLucchese/energi,slingcoin/sling-market,rsdevgun16e/energi,npccoin/npccoin,capitalDIGI/DIGI-v-0-10-4,ionomy/ion,upgradeadvice/MUE-Src,genavarov/ladacoin,tropa/axecoin,Rav3nPL/doubloons-0.10,48thct2jtnf/P,aburan28/elements,Darknet-Crypto/Darknet,MonetaryUnit/MUE-Src,pelorusjack/BlockDX,putinclassic/putic,DynamicCoinOrg/DMC,inkvisit/sarmacoins,OstlerDev/florincoin,NunoEdgarGub1/elements,terracoin/terracoin,Mrs-X/PIVX,OstlerDev/florincoin,ColossusCoinXT/ColossusCoinXT,willwray/dash,aspirecoin/aspire,nmarley/dash,Bloom-Project/Bloom,benzmuircroft/REWIRE.io,zottejos/merelcoin,koharjidan/litecoin,RibbitFROG/ribbitcoin,ingresscoin/ingresscoin,puticcoin/putic,CoinProjects/AmsterdamCoin-v4,genavarov/lamacoin,fullcoins/fullcoin,jtimon/elements,aspirecoin/aspire,thelazier/dash,48thct2jtnf/P,LIMXTEC/DMDv3,benzmuircroft/REWIRE.io,willwray/dash,LIMXTEC/DMDv3,Petr-Economissa/gvidon,droark/elements,truthcoin/blocksize-market,KibiCoin/kibicoin,joulecoin/joulecoin,KibiCoin/kibicoin,dashpay/dash,genavarov/ladacoin,benzmuircroft/REWIRE.io,RibbitFROG/ribbitcoin,benzmuircroft/REWIRE.io,biblepay/biblepay,droark/elements,fussl/elements,mockcoin/mockcoin,Kenwhite23/litecoin,gwillen/elements,terracoin/terracoin,Electronic-Gulden-Foundation/egulden,OstlerDev/florincoin,lakepay/lake,HeliumGas/helium,PIVX-Project/PIVX,RyanLucchese/energi,sipa/elements,ingresscoin/ingresscoin,Mrs-X/Darknet,willwray/dash,aspirecoin/aspire,apoelstra/elements,nmarley/dash,cerebrus29301/crowncoin,aspirecoin/aspire,ivansib/sib16,OstlerDev/florincoin,ahmedbodi/test2,CoinProjects/AmsterdamCoin-v4,ivansib/sib16,dev1972/Satellitecoin,PIVX-Project/PIVX,aburan28/elements,diggcoin/diggcoin,crowning-/dash,sipa/elements,Mrs-X/Darknet,LIMXTEC/DMDv3,Mrs-X/PIVX,truthcoin/blocksize-market,mycointest/owncoin,Vsync-project/Vsync,48thct2jtnf/P,Electronic-Gulden-Foundation/egulden,puticcoin/putic,benzmuircroft/REWIRE.io,Electronic-Gulden-Foundation/egulden,ivansib/sib16,jtimon/elements,HeliumGas/helium,DynamicCoinOrg/DMC,willwray/dash,octocoin-project/octocoin,alejandromgk/Lunar,alejandromgk/Lunar,rsdevgun16e/energi,RibbitFROG/ribbitcoin,terracoin/terracoin,florincoin/florincoin,DMDcoin/Diamond,MonetaryUnit/MUE-Src,keesdewit82/LasVegasCoin,biblepay/biblepay,terracoin/terracoin,slingcoin/sling-market,PandaPayProject/PandaPay,DMDcoin/Diamond,ediston/energi,MonetaryUnit/MUE-Src,upgradeadvice/MUE-Src,schinzelh/dash,putinclassic/putic,rdqw/sscoin,ingresscoin/ingresscoin,Bloom-Project/Bloom,mockcoin/mockcoin,nmarley/dash,biblepay/biblepay,PIVX-Project/PIVX,Petr-Economissa/gvidon,fullcoins/fullcoin,DynamicCoinOrg/DMC,capitalDIGI/DIGI-v-0-10-4,genavarov/ladacoin,cerebrus29301/crowncoin,Kenwhite23/litecoin,genavarov/lamacoin,BlockchainTechLLC/3dcoin,schinzelh/dash,mycointest/owncoin,ionomy/ion,koharjidan/litecoin,midnight-miner/LasVegasCoin,jmgilbert2/energi,rsdevgun16e/energi,ColossusCoinXT/ColossusCoinXT,biblepay/biblepay,genavarov/brcoin,upgradeadvice/MUE-Src,DMDcoin/Diamond,worldbit/worldbit,npccoin/npccoin,keesdewit82/LasVegasCoin,dashpay/dash,DynamicCoinOrg/DMC,ivansib/sibcoin,axelxod/braincoin,fussl/elements,antcheck/antcoin,OmniLayer/omnicore,PIVX-Project/PIVX,octocoin-project/octocoin,pinkevich/dash,Darknet-Crypto/Darknet,MonetaryUnit/MUE-Src,Petr-Economissa/gvidon,mycointest/owncoin,koharjidan/litecoin,worldbit/worldbit,xuyangcn/opalcoin,puticcoin/putic,axelxod/braincoin,OstlerDev/florincoin,ArgonToken/ArgonToken,axelxod/braincoin,dashpay/dash,BlockchainTechLLC/3dcoin,antcheck/antcoin,droark/elements,florincoin/florincoin,puticcoin/putic,mapineda/litecoin,GwangJin/gwangmoney-core,GwangJin/gwangmoney-core,freelion93/mtucicoin,ticclassic/ic,cerebrus29301/crowncoin,ahmedbodi/test2,RibbitFROG/ribbitcoin,Bloom-Project/Bloom,Mrs-X/PIVX,rdqw/sscoin,capitalDIGI/litecoin,capitalDIGI/DIGI-v-0-10-4,dev1972/Satellitecoin,joulecoin/joulecoin,ionomy/ion,jmgilbert2/energi,jtimon/elements,ivansib/sib16,midnight-miner/LasVegasCoin,DynamicCoinOrg/DMC,PandaPayProject/PandaPay,Rav3nPL/doubloons-0.10,fussl/elements,PIVX-Project/PIVX,octocoin-project/octocoin,presstab/PIVX,fullcoins/fullcoin,freelion93/mtucicoin,Kenwhite23/litecoin,mapineda/litecoin,benzmuircroft/REWIRE.io,upgradeadvice/MUE-Src,ediston/energi,capitalDIGI/litecoin,willwray/dash,xuyangcn/opalcoin,crowning-/dash,OmniLayer/omnicore,DynamicCoinOrg/DMC,pascalguru/florincoin,tropa/axecoin,octocoin-project/octocoin,rdqw/sscoin,terracoin/terracoin,rsdevgun16e/energi,florincoin/florincoin,truthcoin/blocksize-market,ticclassic/ic,tropa/axecoin,GwangJin/gwangmoney-core,pinkevich/dash,LIMXTEC/DMDv3,florincoin/florincoin,thelazier/dash,joulecoin/joulecoin,OstlerDev/florincoin,inkvisit/sarmacoins,aburan28/elements,rdqw/sscoin,gwillen/elements,slingcoin/sling-market,ediston/energi,LIMXTEC/DMDv3,UdjinM6/dash,droark/elements,pinkevich/dash,npccoin/npccoin,midnight-miner/LasVegasCoin,ArgonToken/ArgonToken,rsdevgun16e/energi,pascalguru/florincoin,diggcoin/diggcoin,mockcoin/mockcoin,xuyangcn/opalcoin,midnight-miner/LasVegasCoin,antcheck/antcoin,xuyangcn/opalcoin,Electronic-Gulden-Foundation/egulden,my-first/octocoin,GwangJin/gwangmoney-core,dev1972/Satellitecoin,lakepay/lake,pinkevich/dash,RyanLucchese/energi,midnight-miner/LasVegasCoin,capitalDIGI/DIGI-v-0-10-4,sipa/elements,droark/elements,Vsync-project/Vsync,dashpay/dash,Mrs-X/Darknet,apoelstra/elements,fullcoins/fullcoin,apoelstra/elements,NunoEdgarGub1/elements,Darknet-Crypto/Darknet,RibbitFROG/ribbitcoin,Rav3nPL/doubloons-0.10,pascalguru/florincoin,ticclassic/ic,KibiCoin/kibicoin,ahmedbodi/test2,pelorusjack/BlockDX,MonetaryUnit/MUE-Src,ediston/energi,zottejos/merelcoin,aspirecoin/aspire,my-first/octocoin,zottejos/merelcoin,jtimon/elements,Darknet-Crypto/Darknet,freelion93/mtucicoin,rdqw/sscoin,koharjidan/litecoin,diggcoin/diggcoin,genavarov/brcoin,mapineda/litecoin,NunoEdgarGub1/elements,nmarley/dash,KibiCoin/kibicoin,slingcoin/sling-market,pstratem/elements,npccoin/npccoin,genavarov/brcoin,genavarov/brcoin,presstab/PIVX,PandaPayProject/PandaPay,freelion93/mtucicoin,grumpydevelop/singularity,grumpydevelop/singularity,diggcoin/diggcoin,fussl/elements,lakepay/lake,NunoEdgarGub1/elements,RyanLucchese/energi,PIVX-Project/PIVX,genavarov/ladacoin,CoinProjects/AmsterdamCoin-v4,biblepay/biblepay,freelion93/mtucicoin,alejandromgk/Lunar,gwillen/elements,ionomy/ion,my-first/octocoin,KibiCoin/kibicoin,dmrtsvetkov/flowercoin,jmgilbert2/energi,florincoin/florincoin,biblepay/biblepay,Vsync-project/Vsync,DMDcoin/Diamond,HeliumGas/helium,freelion93/mtucicoin,genavarov/lamacoin,mapineda/litecoin,truthcoin/blocksize-market,alejandromgk/Lunar,antcheck/antcoin,PandaPayProject/PandaPay,Mrs-X/PIVX,xuyangcn/opalcoin,pascalguru/florincoin,ivansib/sibcoin,ColossusCoinXT/ColossusCoinXT,UdjinM6/dash,ediston/energi,dmrtsvetkov/flowercoin,pstratem/elements,48thct2jtnf/P,aspirecoin/aspire,aburan28/elements,PandaPayProject/PandaPay,ahmedbodi/test2,gwillen/elements,putinclassic/putic,cerebrus29301/crowncoin,CoinProjects/AmsterdamCoin-v4,cerebrus29301/crowncoin,ticclassic/ic,MonetaryUnit/MUE-Src,my-first/octocoin,DMDcoin/Diamond,jmgilbert2/energi,ArgonToken/ArgonToken,projectinterzone/ITZ,OmniLayer/omnicore,aburan28/elements,thelazier/dash,capitalDIGI/litecoin,jtimon/elements,aburan28/elements,putinclassic/putic,UdjinM6/dash,Mrs-X/Darknet,terracoin/terracoin,BlockchainTechLLC/3dcoin,tropa/axecoin,fullcoins/fullcoin,antcheck/antcoin,Darknet-Crypto/Darknet,zottejos/merelcoin,mycointest/owncoin,RibbitFROG/ribbitcoin,Vsync-project/Vsync,pascalguru/florincoin,inkvisit/sarmacoins,ionomy/ion,npccoin/npccoin,apoelstra/elements,axelxod/braincoin,48thct2jtnf/P,Mrs-X/PIVX,projectinterzone/ITZ,capitalDIGI/litecoin,presstab/PIVX,genavarov/brcoin,pinkevich/dash,ionomy/ion,dmrtsvetkov/flowercoin,Bloom-Project/Bloom,Kenwhite23/litecoin,ivansib/sibcoin,mockcoin/mockcoin,mapineda/litecoin,capitalDIGI/litecoin,genavarov/brcoin,lakepay/lake,BlockchainTechLLC/3dcoin,alejandromgk/Lunar,lakepay/lake,Rav3nPL/doubloons-0.10,presstab/PIVX,PIVX-Project/PIVX,RyanLucchese/energi,pelorusjack/BlockDX,grumpydevelop/singularity,dmrtsvetkov/flowercoin,ticclassic/ic,inkvisit/sarmacoins,presstab/PIVX,zottejos/merelcoin,worldbit/worldbit,cerebrus29301/crowncoin,ivansib/sib16,projectinterzone/ITZ,capitalDIGI/DIGI-v-0-10-4,keesdewit82/LasVegasCoin,genavarov/ladacoin,alejandromgk/Lunar,grumpydevelop/singularity,crowning-/dash,nmarley/dash,pstratem/elements,lakepay/lake,presstab/PIVX,Mrs-X/Darknet,gwillen/elements,Kenwhite23/litecoin,48thct2jtnf/P,putinclassic/putic,BlockchainTechLLC/3dcoin,jmgilbert2/energi,dev1972/Satellitecoin,fullcoins/fullcoin,grumpydevelop/singularity,joulecoin/joulecoin,KibiCoin/kibicoin,dev1972/Satellitecoin,worldbit/worldbit,mockcoin/mockcoin,npccoin/npccoin,apoelstra/elements,zottejos/merelcoin,antcheck/antcoin,ivansib/sib16,dmrtsvetkov/flowercoin,ingresscoin/ingresscoin,Electronic-Gulden-Foundation/egulden,ArgonToken/ArgonToken,LIMXTEC/DMDv3,ivansib/sibcoin,fussl/elements,crowning-/dash,CoinProjects/AmsterdamCoin-v4,my-first/octocoin,tropa/axecoin,inkvisit/sarmacoins,sipa/elements,midnight-miner/LasVegasCoin,rsdevgun16e/energi,OmniLayer/omnicore,willwray/dash,thelazier/dash,Petr-Economissa/gvidon,biblepay/biblepay,nmarley/dash,inkvisit/sarmacoins,BlockchainTechLLC/3dcoin,PIVX-Project/PIVX,UdjinM6/dash