Make -proxy set all network types, avoiding a connect leak.
Make -proxy set all network types, avoiding a connect leak.

Previously -proxy was not setting the proxy for IsLimited networks, so
 if you set your configuration to be onlynet=tor you wouldn't get an
 IPv4 proxy set.

The payment protocol gets its proxy configuration from the IPv4 proxy,
 and so it would experience a connection leak.

This addresses issue #5355 and also clears up a cosmetic bug where
 getinfo proxy output shows nothing when onlynet=tor is set.

Conflicts:
	src/init.cpp

Rebased-From: 3c777141349ad82d679a278df0619968af53c23
Github-Issue: #5358

pinkevich/dash,antcheck/antcoin,terracoin/terracoin,nightlydash/darkcoin,Mrs-X/Darknet,mycointest/owncoin,ivansib/sib16,cryptodev35/icash,ivansib/sibcoin,putinclassic/putic,PandaPayProject/PandaPay,coinkeeper/2015-06-22_18-36_darkcoin,freelion93/mtucicoin,presstab/PIVX,BlockchainTechLLC/3dcoin,projectinterzone/ITZ,blood2/bloodcoin-0.9,ColossusCoinXT/ColossusCoinXT,CoinProjects/AmsterdamCoin-v4,ahmedbodi/test2,DMDcoin/Diamond,joroob/reddcoin,antcheck/antcoin,npccoin/npccoin,world-bank/unpay-core,nightlydash/darkcoin,RyanLucchese/energi,rdqw/sscoin,ivansib/sibcoin,crowning-/dash,Vsync-project/Vsync,schinzelh/dash,projectinterzone/ITZ,projectinterzone/ITZ,Mrs-X/PIVX,HeliumGas/helium,thelazier/dash,npccoin/npccoin,ivansib/sib16,putinclassic/putic,mycointest/owncoin,midnight-miner/LasVegasCoin,Petr-Economissa/gvidon,ediston/energi,nmarley/dash,BlockchainTechLLC/3dcoin,ivansib/sibcoin,Vsync-project/Vsync,dmrtsvetkov/flowercoin,inkvisit/sarmacoins,Darknet-Crypto/Darknet,jmgilbert2/energi,HeliumGas/helium,basicincome/unpcoin-core,nmarley/dash,Bloom-Project/Bloom,presstab/PIVX,terracoin/terracoin,PIVX-Project/PIVX,coinkeeper/2015-06-22_18-36_darkcoin,Darknet-Crypto/Darknet,diggcoin/diggcoin,PIVX-Project/PIVX,ionomy/ion,reddink/reddcoin,reddcoin-project/reddcoin,skaht/bitcoin,aspirecoin/aspire,alejandromgk/Lunar,grumpydevelop/singularity,terracoin/terracoin,CoinProjects/AmsterdamCoin-v4,crowning-/dash,antcheck/antcoin,rsdevgun16e/energi,dashpay/dash,xuyangcn/opalcoin,Mrs-X/PIVX,crowning-/dash,midnight-miner/LasVegasCoin,grumpydevelop/singularity,ticclassic/ic,pinkevich/dash,Vsync-project/Vsync,Petr-Economissa/gvidon,xuyangcn/opalcoin,xuyangcn/opalcoin,CoinProjects/AmsterdamCoin-v4,schinzelh/dash,BlockchainTechLLC/3dcoin,nmarley/dash,mycointest/owncoin,willwray/dash,midnight-miner/LasVegasCoin,slingcoin/sling-market,HeliumGas/helium,dashpay/dash,benzmuircroft/REWIRE.io,UdjinM6/dash,keesdewit82/LasVegasCoin,rdqw/sscoin,Bloom-Project/Bloom,jmgilbert2/energi,litecoin-project/bitcoinomg,mobicoins/mobicoin-core,alejandromgk/Lunar,RyanLucchese/energi,Petr-Economissa/gvidon,worldbit/worldbit,presstab/PIVX,jmgilbert2/energi,HeliumGas/helium,nmarley/dash,Mrs-X/PIVX,cerebrus29301/crowncoin,world-bank/unpay-core,pinkevich/dash,mastercoin-MSC/mastercore,midnight-miner/LasVegasCoin,putinclassic/putic,keesdewit82/LasVegasCoin,Mrs-X/Darknet,ivansib/sibcoin,mobicoins/mobicoin-core,axelxod/braincoin,knolza/gamblr,pinkevich/dash,48thct2jtnf/P,dev1972/Satellitecoin,mastercoin-MSC/mastercore,biblepay/biblepay,ionomy/ion,putinclassic/putic,worldbit/worldbit,48thct2jtnf/P,reddcoin-project/reddcoin,ahmedbodi/test2,presstab/PIVX,ArgonToken/ArgonToken,aspirecoin/aspire,joroob/reddcoin,basicincome/unpcoin-core,HeliumGas/helium,PIVX-Project/PIVX,schinzelh/dash,world-bank/unpay-core,DMDcoin/Diamond,nmarley/dash,cryptodev35/icash,ticclassic/ic,pelorusjack/BlockDX,freelion93/mtucicoin,terracoin/terracoin,terracoin/terracoin,Petr-Economissa/gvidon,ivansib/sibcoin,LIMXTEC/DMDv3,Mrs-X/PIVX,slingcoin/sling-market,reddcoin-project/reddcoin,ionomy/ion,pelorusjack/BlockDX,Petr-Economissa/gvidon,antcheck/antcoin,reddcoin-project/reddcoin,DMDcoin/Diamond,blood2/bloodcoin-0.9,puticcoin/putic,mastercoin-MSC/mastercore,ticclassic/ic,slingcoin/sling-market,PandaPayProject/PandaPay,Mrs-X/PIVX,axelxod/braincoin,keesdewit82/LasVegasCoin,worldbit/worldbit,ivansib/sib16,Bloom-Project/Bloom,putinclassic/putic,bmp02050/ReddcoinUpdates,DMDcoin/Diamond,worldbit/worldbit,nightlydash/darkcoin,pinkevich/dash,ArgonToken/ArgonToken,rsdevgun16e/energi,skaht/bitcoin,kbccoin/kbc,PIVX-Project/PIVX,worldbit/worldbit,reddcoin-project/reddcoin,willwray/dash,rsdevgun16e/energi,LIMXTEC/DMDv3,xuyangcn/opalcoin,keesdewit82/LasVegasCoin,world-bank/unpay-core,basicincome/unpcoin-core,antcheck/antcoin,dev1972/Satellitecoin,skaht/bitcoin,biblepay/biblepay,ionomy/ion,BlockchainTechLLC/3dcoin,npccoin/npccoin,bmp02050/ReddcoinUpdates,Darknet-Crypto/Darknet,litecoin-project/bitcoinomg,blood2/bloodcoin-0.9,alejandromgk/Lunar,projectinterzone/ITZ,Bloom-Project/Bloom,aspirecoin/aspire,cerebrus29301/crowncoin,diggcoin/diggcoin,cerebrus29301/crowncoin,lakepay/lake,puticcoin/putic,pelorusjack/BlockDX,reddink/reddcoin,biblepay/biblepay,lakepay/lake,benzmuircroft/REWIRE.io,grumpydevelop/singularity,puticcoin/putic,slingcoin/sling-market,ediston/energi,npccoin/npccoin,thelazier/dash,ionomy/ion,biblepay/biblepay,cryptodev35/icash,schinzelh/dash,ColossusCoinXT/ColossusCoinXT,thelazier/dash,CoinProjects/AmsterdamCoin-v4,freelion93/mtucicoin,mobicoins/mobicoin-core,crowning-/dash,knolza/gamblr,Darknet-Crypto/Darknet,Mrs-X/PIVX,ArgonToken/ArgonToken,jmgilbert2/energi,rsdevgun16e/energi,ArgonToken/ArgonToken,crowning2/dash,PandaPayProject/PandaPay,reddink/reddcoin,knolza/gamblr,lakepay/lake,LIMXTEC/DMDv3,dev1972/Satellitecoin,coinerd/krugercoin,CoinProjects/AmsterdamCoin-v4,willwray/dash,Mrs-X/Darknet,jmgilbert2/energi,LIMXTEC/DMDv3,Vsync-project/Vsync,coinkeeper/2015-06-22_18-36_darkcoin,rdqw/sscoin,PIVX-Project/PIVX,rsdevgun16e/energi,kbccoin/kbc,kbccoin/kbc,ediston/energi,aspirecoin/aspire,presstab/PIVX,crowning-/dash,lakepay/lake,projectinterzone/ITZ,rsdevgun16e/energi,dmrtsvetkov/flowercoin,crowning-/dash,Darknet-Crypto/Darknet,benzmuircroft/REWIRE.io,skaht/bitcoin,thelazier/dash,diggcoin/diggcoin,48thct2jtnf/P,kbccoin/kbc,48thct2jtnf/P,diggcoin/diggcoin,schinzelh/dash,ionomy/ion,dev1972/Satellitecoin,BlockchainTechLLC/3dcoin,mycointest/owncoin,mastercoin-MSC/mastercore,PIVX-Project/PIVX,slingcoin/sling-market,Petr-Economissa/gvidon,Mrs-X/Darknet,UdjinM6/dash,coinkeeper/2015-06-22_18-36_darkcoin,willwray/dash,npccoin/npccoin,keesdewit82/LasVegasCoin,schinzelh/dash,inkvisit/sarmacoins,ediston/energi,xuyangcn/opalcoin,lakepay/lake,dmrtsvetkov/flowercoin,UdjinM6/dash,pinkevich/dash,ticclassic/ic,UdjinM6/dash,blood2/bloodcoin-0.9,RyanLucchese/energi,puticcoin/putic,ivansib/sib16,alejandromgk/Lunar,cryptodev35/icash,Bloom-Project/Bloom,mycointest/owncoin,Bloom-Project/Bloom,cerebrus29301/crowncoin,diggcoin/diggcoin,HeliumGas/helium,RyanLucchese/energi,48thct2jtnf/P,rdqw/sscoin,rdqw/sscoin,thelazier/dash,DMDcoin/Diamond,alejandromgk/Lunar,mobicoins/mobicoin-core,nmarley/dash,PIVX-Project/PIVX,PandaPayProject/PandaPay,biblepay/biblepay,willwray/dash,worldbit/worldbit,ivansib/sibcoin,dev1972/Satellitecoin,axelxod/braincoin,putinclassic/putic,world-bank/unpay-core,biblepay/biblepay,cerebrus29301/crowncoin,cerebrus29301/crowncoin,pelorusjack/BlockDX,mastercoin-MSC/mastercore,keesdewit82/LasVegasCoin,skaht/bitcoin,dmrtsvetkov/flowercoin,rdqw/sscoin,crowning2/dash,crowning2/dash,48thct2jtnf/P,nmarley/dash,grumpydevelop/singularity,inkvisit/sarmacoins,axelxod/braincoin,LIMXTEC/DMDv3,knolza/gamblr,xuyangcn/opalcoin,dev1972/Satellitecoin,alejandromgk/Lunar,ivansib/sib16,RyanLucchese/energi,npccoin/npccoin,puticcoin/putic,basicincome/unpcoin-core,reddink/reddcoin,crowning2/dash,Vsync-project/Vsync,freelion93/mtucicoin,ahmedbodi/test2,benzmuircroft/REWIRE.io,midnight-miner/LasVegasCoin,coinerd/krugercoin,diggcoin/diggcoin,jmgilbert2/energi,axelxod/braincoin,midnight-miner/LasVegasCoin,puticcoin/putic,ticclassic/ic,dashpay/dash,ColossusCoinXT/ColossusCoinXT,Mrs-X/Darknet,Mrs-X/Darknet,nightlydash/darkcoin,coinerd/krugercoin,reddink/reddcoin,bmp02050/ReddcoinUpdates,ivansib/sib16,willwray/dash,CoinProjects/AmsterdamCoin-v4,ediston/energi,antcheck/antcoin,kbccoin/kbc,ColossusCoinXT/ColossusCoinXT,dmrtsvetkov/flowercoin,Darknet-Crypto/Darknet,axelxod/braincoin,PIVX-Project/PIVX,pelorusjack/BlockDX,RyanLucchese/energi,presstab/PIVX,crowning2/dash,freelion93/mtucicoin,UdjinM6/dash,litecoin-project/bitcoinomg,slingcoin/sling-market,dmrtsvetkov/flowercoin,pelorusjack/BlockDX,dashpay/dash,inkvisit/sarmacoins,reddcoin-project/reddcoin,coinerd/krugercoin,inkvisit/sarmacoins,aspirecoin/aspire,nightlydash/darkcoin,basicincome/unpcoin-core,inkvisit/sarmacoins,ArgonToken/ArgonToken,dashpay/dash,lakepay/lake,ColossusCoinXT/ColossusCoinXT,ArgonToken/ArgonToken,bmp02050/ReddcoinUpdates,biblepay/biblepay,mobicoins/mobicoin-core,PandaPayProject/PandaPay,BlockchainTechLLC/3dcoin,biblepay/biblepay,ahmedbodi/test2,joroob/reddcoin,ahmedbodi/test2,ediston/energi,cryptodev35/icash,coinkeeper/2015-06-22_18-36_darkcoin,benzmuircroft/REWIRE.io,joroob/reddcoin,aspirecoin/aspire,ColossusCoinXT/ColossusCoinXT,knolza/gamblr,litecoin-project/bitcoinomg,bmp02050/ReddcoinUpdates,ahmedbodi/test2,Vsync-project/Vsync,joroob/reddcoin,freelion93/mtucicoin,LIMXTEC/DMDv3,blood2/bloodcoin-0.9,mycointest/owncoin,ticclassic/ic,terracoin/terracoin,PIVX-Project/PIVX,PandaPayProject/PandaPay,grumpydevelop/singularity,benzmuircroft/REWIRE.io,DMDcoin/Diamond,knolza/gamblr,grumpydevelop/singularity