cli: small -netinfo simplification and performance improvement
cli: small -netinfo simplification and performance improvement

that removes code and particularly this code from the loop of all peers:

`m_is_i2p_on |= (network_id == NET_I2P);`

jamesob/bitcoin,instagibbs/bitcoin,bitcoin/bitcoin,fanquake/bitcoin,anditto/bitcoin,AkioNak/bitcoin,MarcoFalke/bitcoin,domob1812/namecore,andreaskern/bitcoin,ElementsProject/elements,apoelstra/bitcoin,andreaskern/bitcoin,jambolo/bitcoin,achow101/bitcoin,JeremyRubin/bitcoin,JeremyRubin/bitcoin,pataquets/namecoin-core,rnicoll/bitcoin,anditto/bitcoin,instagibbs/bitcoin,instagibbs/bitcoin,anditto/bitcoin,instagibbs/bitcoin,fujicoin/fujicoin,anditto/bitcoin,GroestlCoin/GroestlCoin,lateminer/bitcoin,apoelstra/bitcoin,mm-s/bitcoin,ElementsProject/elements,fujicoin/fujicoin,namecoin/namecoin-core,dscotese/bitcoin,bitcoinknots/bitcoin,prusnak/bitcoin,apoelstra/bitcoin,jambolo/bitcoin,bitcoinknots/bitcoin,domob1812/namecore,yenliangl/bitcoin,ajtowns/bitcoin,MeshCollider/bitcoin,ElementsProject/elements,MeshCollider/bitcoin,tecnovert/particl-core,namecoin/namecore,achow101/bitcoin,kallewoof/bitcoin,sstone/bitcoin,fujicoin/fujicoin,prusnak/bitcoin,sipsorcery/bitcoin,instagibbs/bitcoin,Xekyo/bitcoin,namecoin/namecore,namecoin/namecoin-core,sstone/bitcoin,prusnak/bitcoin,instagibbs/bitcoin,ajtowns/bitcoin,rnicoll/bitcoin,JeremyRubin/bitcoin,yenliangl/bitcoin,jamesob/bitcoin,n1bor/bitcoin,MarcoFalke/bitcoin,GroestlCoin/bitcoin,mm-s/bitcoin,jlopp/statoshi,GroestlCoin/GroestlCoin,JeremyRubin/bitcoin,qtumproject/qtum,n1bor/bitcoin,Xekyo/bitcoin,bitcoin/bitcoin,MarcoFalke/bitcoin,MarcoFalke/bitcoin,AkioNak/bitcoin,sipsorcery/bitcoin,mruddy/bitcoin,ajtowns/bitcoin,MarcoFalke/bitcoin,anditto/bitcoin,lateminer/bitcoin,jamesob/bitcoin,kallewoof/bitcoin,ElementsProject/elements,qtumproject/qtum,GroestlCoin/bitcoin,mm-s/bitcoin,bitcoinsSG/bitcoin,pataquets/namecoin-core,sstone/bitcoin,bitcoinsSG/bitcoin,dscotese/bitcoin,particl/particl-core,yenliangl/bitcoin,fanquake/bitcoin,mruddy/bitcoin,bitcoinknots/bitcoin,ajtowns/bitcoin,apoelstra/bitcoin,bitcoin/bitcoin,jamesob/bitcoin,qtumproject/qtum,mm-s/bitcoin,kallewoof/bitcoin,rnicoll/bitcoin,jlopp/statoshi,sstone/bitcoin,domob1812/bitcoin,kallewoof/bitcoin,pataquets/namecoin-core,Sjors/bitcoin,tecnovert/particl-core,lateminer/bitcoin,GroestlCoin/GroestlCoin,andreaskern/bitcoin,qtumproject/qtum,fujicoin/fujicoin,pataquets/namecoin-core,sipsorcery/bitcoin,namecoin/namecore,ajtowns/bitcoin,jambolo/bitcoin,bitcoinsSG/bitcoin,andreaskern/bitcoin,MeshCollider/bitcoin,particl/particl-core,dscotese/bitcoin,lateminer/bitcoin,jlopp/statoshi,GroestlCoin/bitcoin,prusnak/bitcoin,achow101/bitcoin,domob1812/bitcoin,rnicoll/bitcoin,Sjors/bitcoin,GroestlCoin/bitcoin,dscotese/bitcoin,ElementsProject/elements,JeremyRubin/bitcoin,pataquets/namecoin-core,n1bor/bitcoin,Xekyo/bitcoin,rnicoll/bitcoin,bitcoin/bitcoin,n1bor/bitcoin,namecoin/namecoin-core,namecoin/namecoin-core,domob1812/bitcoin,kallewoof/bitcoin,GroestlCoin/GroestlCoin,namecoin/namecore,mruddy/bitcoin,AkioNak/bitcoin,MeshCollider/bitcoin,fujicoin/fujicoin,yenliangl/bitcoin,Xekyo/bitcoin,yenliangl/bitcoin,MarcoFalke/bitcoin,mruddy/bitcoin,GroestlCoin/GroestlCoin,tecnovert/particl-core,GroestlCoin/GroestlCoin,Sjors/bitcoin,qtumproject/qtum,dscotese/bitcoin,mm-s/bitcoin,prusnak/bitcoin,fanquake/bitcoin,domob1812/bitcoin,GroestlCoin/bitcoin,domob1812/namecore,bitcoinsSG/bitcoin,bitcoinsSG/bitcoin,jlopp/statoshi,AkioNak/bitcoin,domob1812/namecore,achow101/bitcoin,mruddy/bitcoin,namecoin/namecore,tecnovert/particl-core,n1bor/bitcoin,bitcoinknots/bitcoin,ElementsProject/elements,AkioNak/bitcoin,achow101/bitcoin,bitcoin/bitcoin,GroestlCoin/bitcoin,qtumproject/qtum,bitcoinsSG/bitcoin,MeshCollider/bitcoin,bitcoinknots/bitcoin,dscotese/bitcoin,kallewoof/bitcoin,sipsorcery/bitcoin,lateminer/bitcoin,domob1812/bitcoin,achow101/bitcoin,mruddy/bitcoin,jamesob/bitcoin,particl/particl-core,jambolo/bitcoin,anditto/bitcoin,namecoin/namecoin-core,namecoin/namecore,fanquake/bitcoin,mm-s/bitcoin,lateminer/bitcoin,andreaskern/bitcoin,Xekyo/bitcoin,particl/particl-core,domob1812/namecore,fanquake/bitcoin,AkioNak/bitcoin,fujicoin/fujicoin,sstone/bitcoin,Xekyo/bitcoin,andreaskern/bitcoin,JeremyRubin/bitcoin,prusnak/bitcoin,apoelstra/bitcoin,particl/particl-core,ajtowns/bitcoin,domob1812/bitcoin,Sjors/bitcoin,jambolo/bitcoin,rnicoll/bitcoin,apoelstra/bitcoin,namecoin/namecoin-core,domob1812/namecore,sipsorcery/bitcoin,sipsorcery/bitcoin,MeshCollider/bitcoin,tecnovert/particl-core,qtumproject/qtum,jlopp/statoshi,yenliangl/bitcoin,Sjors/bitcoin,bitcoin/bitcoin,particl/particl-core,n1bor/bitcoin,sstone/bitcoin,jambolo/bitcoin,jlopp/statoshi,jamesob/bitcoin,pataquets/namecoin-core,fanquake/bitcoin,tecnovert/particl-core