[tests] Move version message sending from NodeConn to NodeConnCB
[tests] Move version message sending from NodeConn to NodeConnCB

This commit moves the logic that sends a version message
on connection from NodeConn to NodeConnCB. NodeConn should
not be aware of the semantics or meaning of the P2P payloads.

litecoin-project/litecoin,deeponion/deeponion,fanquake/bitcoin,pstratem/bitcoin,sebrandon1/bitcoin,tecnovert/particl-core,namecoin/namecoin-core,myriadcoin/myriadcoin,Rav3nPL/bitcoin,bitcoinsSG/bitcoin,andreaskern/bitcoin,brandonrobertz/namecoin-core,RHavar/bitcoin,MeshCollider/bitcoin,practicalswift/bitcoin,EthanHeilman/bitcoin,globaltoken/globaltoken,cdecker/bitcoin,n1bor/bitcoin,Christewart/bitcoin,sstone/bitcoin,myriadcoin/myriadcoin,midnightmagic/bitcoin,Flowdalic/bitcoin,mb300sd/bitcoin,fanquake/bitcoin,randy-waterhouse/bitcoin,tecnovert/particl-core,mruddy/bitcoin,achow101/bitcoin,Bushstar/UFO-Project,myriadteam/myriadcoin,joshrabinowitz/bitcoin,FeatherCoin/Feathercoin,rnicoll/bitcoin,nikkitan/bitcoin,h4x3rotab/BTCGPU,pstratem/bitcoin,kallewoof/bitcoin,kazcw/bitcoin,lbryio/lbrycrd,anditto/bitcoin,anditto/bitcoin,lbryio/lbrycrd,namecoin/namecoin-core,paveljanik/bitcoin,bitcoinsSG/bitcoin,MeshCollider/bitcoin,wellenreiter01/Feathercoin,droark/bitcoin,JeremyRubin/bitcoin,digibyte/digibyte,namecoin/namecore,donaloconnor/bitcoin,yenliangl/bitcoin,DigitalPandacoin/pandacoin,domob1812/bitcoin,cdecker/bitcoin,Flowdalic/bitcoin,peercoin/peercoin,droark/bitcoin,BTCGPU/BTCGPU,mb300sd/bitcoin,sebrandon1/bitcoin,bespike/litecoin,afk11/bitcoin,ElementsProject/elements,Xekyo/bitcoin,OmniLayer/omnicore,GlobalBoost/GlobalBoost,cdecker/bitcoin,EthanHeilman/bitcoin,ahmedbodi/vertcoin,lateminer/bitcoin,lbryio/lbrycrd,myriadteam/myriadcoin,mm-s/bitcoin,maaku/bitcoin,qtumproject/qtum,jonasschnelli/bitcoin,sipsorcery/bitcoin,MazaCoin/maza,litecoin-project/litecoin,bitcoinknots/bitcoin,nikkitan/bitcoin,sstone/bitcoin,GroestlCoin/bitcoin,ahmedbodi/vertcoin,joshrabinowitz/bitcoin,Kogser/bitcoin,yenliangl/bitcoin,ajtowns/bitcoin,jnewbery/bitcoin,brandonrobertz/namecoin-core,stamhe/bitcoin,randy-waterhouse/bitcoin,OmniLayer/omnicore,practicalswift/bitcoin,rnicoll/dogecoin,domob1812/namecore,jamesob/bitcoin,stamhe/bitcoin,1185/starwels,Sjors/bitcoin,prusnak/bitcoin,mb300sd/bitcoin,MeshCollider/bitcoin,maaku/bitcoin,lateminer/bitcoin,stamhe/bitcoin,Kogser/bitcoin,jlopp/statoshi,vertcoin/vertcoin,ajtowns/bitcoin,guncoin/guncoin,jambolo/bitcoin,Christewart/bitcoin,myriadcoin/myriadcoin,untrustbank/litecoin,laudaa/bitcoin,thrasher-/litecoin,rnicoll/bitcoin,gjhiggins/vcoincore,brandonrobertz/namecoin-core,Flowdalic/bitcoin,qtumproject/qtum,kallewoof/bitcoin,myriadcoin/myriadcoin,h4x3rotab/BTCGPU,Kogser/bitcoin,starwels/starwels,particl/particl-core,Kogser/bitcoin,jmcorgan/bitcoin,pstratem/bitcoin,jlopp/statoshi,Flowdalic/bitcoin,anditto/bitcoin,jtimon/bitcoin,CryptArc/bitcoin,deeponion/deeponion,yenliangl/bitcoin,JeremyRubin/bitcoin,DigitalPandacoin/pandacoin,afk11/bitcoin,peercoin/peercoin,tecnovert/particl-core,vertcoin/vertcoin,namecoin/namecoin-core,cdecker/bitcoin,rnicoll/dogecoin,DigitalPandacoin/pandacoin,peercoin/peercoin,GroestlCoin/bitcoin,domob1812/huntercore,CryptArc/bitcoin,tecnovert/particl-core,mitchellcash/bitcoin,EthanHeilman/bitcoin,MeshCollider/bitcoin,randy-waterhouse/bitcoin,MarcoFalke/bitcoin,ppcoin/ppcoin,jambolo/bitcoin,jmcorgan/bitcoin,starwels/starwels,domob1812/namecore,maaku/bitcoin,Kogser/bitcoin,jamesob/bitcoin,domob1812/namecore,sstone/bitcoin,achow101/bitcoin,myriadteam/myriadcoin,GlobalBoost/GlobalBoost,kallewoof/bitcoin,GroestlCoin/GroestlCoin,jamesob/bitcoin,afk11/bitcoin,namecoin/namecore,lateminer/bitcoin,fujicoin/fujicoin,vmp32k/litecoin,thrasher-/litecoin,paveljanik/bitcoin,r8921039/bitcoin,r8921039/bitcoin,Kogser/bitcoin,mitchellcash/bitcoin,globaltoken/globaltoken,1185/starwels,tecnovert/particl-core,achow101/bitcoin,tjps/bitcoin,pataquets/namecoin-core,Kogser/bitcoin,pataquets/namecoin-core,alecalve/bitcoin,instagibbs/bitcoin,n1bor/bitcoin,tjps/bitcoin,achow101/bitcoin,ryanofsky/bitcoin,litecoin-project/litecoin,bespike/litecoin,ericshawlinux/bitcoin,n1bor/bitcoin,h4x3rotab/BTCGPU,globaltoken/globaltoken,prusnak/bitcoin,ericshawlinux/bitcoin,jlopp/statoshi,wellenreiter01/Feathercoin,droark/bitcoin,laudaa/bitcoin,ahmedbodi/vertcoin,lateminer/bitcoin,ahmedbodi/vertcoin,GlobalBoost/GlobalBoost,kazcw/bitcoin,vertcoin/vertcoin,viacoin/viacoin,myriadcoin/myriadcoin,particl/particl-core,monacoinproject/monacoin,pataquets/namecoin-core,cdecker/bitcoin,bitcoinsSG/bitcoin,gjhiggins/vcoincore,n1bor/bitcoin,pataquets/namecoin-core,GroestlCoin/GroestlCoin,alecalve/bitcoin,andreaskern/bitcoin,GroestlCoin/bitcoin,jamesob/bitcoin,mm-s/bitcoin,instagibbs/bitcoin,GroestlCoin/bitcoin,rawodb/bitcoin,sstone/bitcoin,pstratem/bitcoin,anditto/bitcoin,ryanofsky/bitcoin,cdecker/bitcoin,sipsorcery/bitcoin,globaltoken/globaltoken,kallewoof/bitcoin,AkioNak/bitcoin,bitcoinknots/bitcoin,untrustbank/litecoin,lbryio/lbrycrd,domob1812/namecore,deeponion/deeponion,r8921039/bitcoin,GlobalBoost/GlobalBoost,vmp32k/litecoin,joshrabinowitz/bitcoin,gjhiggins/vcoincore,kazcw/bitcoin,sebrandon1/bitcoin,jamesob/bitcoin,Bushstar/UFO-Project,sipsorcery/bitcoin,vmp32k/litecoin,jambolo/bitcoin,wellenreiter01/Feathercoin,rnicoll/dogecoin,domob1812/namecore,AkioNak/bitcoin,untrustbank/litecoin,domob1812/huntercore,MazaCoin/maza,EthanHeilman/bitcoin,Bushstar/UFO-Project,untrustbank/litecoin,bitcoin/bitcoin,domob1812/bitcoin,kallewoof/bitcoin,rnicoll/bitcoin,peercoin/peercoin,qtumproject/qtum,practicalswift/bitcoin,fujicoin/fujicoin,Xekyo/bitcoin,rawodb/bitcoin,paveljanik/bitcoin,rawodb/bitcoin,GroestlCoin/GroestlCoin,RHavar/bitcoin,practicalswift/bitcoin,monacoinproject/monacoin,dscotese/bitcoin,fujicoin/fujicoin,Xekyo/bitcoin,mitchellcash/bitcoin,FeatherCoin/Feathercoin,instagibbs/bitcoin,fanquake/bitcoin,monacoinproject/monacoin,tjps/bitcoin,dscotese/bitcoin,jtimon/bitcoin,jonasschnelli/bitcoin,mitchellcash/bitcoin,mruddy/bitcoin,nikkitan/bitcoin,guncoin/guncoin,OmniLayer/omnicore,bitcoin/bitcoin,myriadteam/myriadcoin,dscotese/bitcoin,Christewart/bitcoin,Kogser/bitcoin,particl/particl-core,midnightmagic/bitcoin,bitcoin/bitcoin,globaltoken/globaltoken,bespike/litecoin,laudaa/bitcoin,BTCGPU/BTCGPU,anditto/bitcoin,particl/particl-core,guncoin/guncoin,namecoin/namecore,maaku/bitcoin,qtumproject/qtum,BTCGPU/BTCGPU,tjps/bitcoin,ryanofsky/bitcoin,RHavar/bitcoin,monacoinproject/monacoin,thrasher-/litecoin,jtimon/bitcoin,BTCGPU/BTCGPU,Flowdalic/bitcoin,jtimon/bitcoin,peercoin/peercoin,BTCGPU/BTCGPU,jambolo/bitcoin,qtumproject/qtum,alecalve/bitcoin,digibyte/digibyte,Kogser/bitcoin,thrasher-/litecoin,vertcoin/vertcoin,FeatherCoin/Feathercoin,jnewbery/bitcoin,jonasschnelli/bitcoin,wellenreiter01/Feathercoin,yenliangl/bitcoin,laudaa/bitcoin,stamhe/bitcoin,domob1812/bitcoin,domob1812/huntercore,fanquake/bitcoin,JeremyRubin/bitcoin,ElementsProject/elements,sebrandon1/bitcoin,1185/starwels,n1bor/bitcoin,bitcoinsSG/bitcoin,TheBlueMatt/bitcoin,bitcoinknots/bitcoin,Rav3nPL/bitcoin,namecoin/namecoin-core,DigitalPandacoin/pandacoin,dscotese/bitcoin,GroestlCoin/GroestlCoin,Rav3nPL/bitcoin,rnicoll/bitcoin,mm-s/bitcoin,viacoin/viacoin,TheBlueMatt/bitcoin,domob1812/namecore,brandonrobertz/namecoin-core,nikkitan/bitcoin,droark/bitcoin,rnicoll/bitcoin,ppcoin/ppcoin,fanquake/bitcoin,TheBlueMatt/bitcoin,rawodb/bitcoin,particl/particl-core,deeponion/deeponion,bitcoin/bitcoin,jlopp/statoshi,jtimon/bitcoin,practicalswift/bitcoin,bitcoinsSG/bitcoin,tjps/bitcoin,lbryio/lbrycrd,ajtowns/bitcoin,dscotese/bitcoin,TheBlueMatt/bitcoin,gjhiggins/vcoincore,jonasschnelli/bitcoin,ahmedbodi/vertcoin,vertcoin/vertcoin,mm-s/bitcoin,instagibbs/bitcoin,ahmedbodi/vertcoin,fujicoin/fujicoin,OmniLayer/omnicore,jnewbery/bitcoin,randy-waterhouse/bitcoin,AkioNak/bitcoin,prusnak/bitcoin,untrustbank/litecoin,jonasschnelli/bitcoin,lbryio/lbrycrd,h4x3rotab/BTCGPU,joshrabinowitz/bitcoin,donaloconnor/bitcoin,lbryio/lbrycrd,jmcorgan/bitcoin,Kogser/bitcoin,apoelstra/bitcoin,vertcoin/vertcoin,Sjors/bitcoin,Christewart/bitcoin,thrasher-/litecoin,AkioNak/bitcoin,untrustbank/litecoin,sstone/bitcoin,ryanofsky/bitcoin,pstratem/bitcoin,andreaskern/bitcoin,domob1812/huntercore,namecoin/namecoin-core,ElementsProject/elements,apoelstra/bitcoin,afk11/bitcoin,Xekyo/bitcoin,domob1812/bitcoin,peercoin/peercoin,andreaskern/bitcoin,ericshawlinux/bitcoin,jamesob/bitcoin,starwels/starwels,kazcw/bitcoin,bitcoin/bitcoin,Rav3nPL/bitcoin,MazaCoin/maza,r8921039/bitcoin,viacoin/viacoin,jambolo/bitcoin,digibyte/digibyte,vmp32k/litecoin,anditto/bitcoin,h4x3rotab/BTCGPU,apoelstra/bitcoin,apoelstra/bitcoin,GlobalBoost/GlobalBoost,afk11/bitcoin,FeatherCoin/Feathercoin,Rav3nPL/bitcoin,mruddy/bitcoin,guncoin/guncoin,guncoin/guncoin,jnewbery/bitcoin,Bushstar/UFO-Project,ElementsProject/elements,mruddy/bitcoin,gjhiggins/vcoincore,kazcw/bitcoin,ppcoin/ppcoin,jnewbery/bitcoin,MarcoFalke/bitcoin,mitchellcash/bitcoin,jlopp/statoshi,Christewart/bitcoin,tjps/bitcoin,brandonrobertz/namecoin-core,instagibbs/bitcoin,MazaCoin/maza,droark/bitcoin,CryptArc/bitcoin,starwels/starwels,mruddy/bitcoin,h4x3rotab/BTCGPU,MeshCollider/bitcoin,r8921039/bitcoin,DigitalPandacoin/pandacoin,sipsorcery/bitcoin,jtimon/bitcoin,qtumproject/qtum,fujicoin/fujicoin,paveljanik/bitcoin,randy-waterhouse/bitcoin,ericshawlinux/bitcoin,DigitalPandacoin/pandacoin,EthanHeilman/bitcoin,mb300sd/bitcoin,ajtowns/bitcoin,achow101/bitcoin,stamhe/bitcoin,FeatherCoin/Feathercoin,mm-s/bitcoin,vmp32k/litecoin,GlobalBoost/GlobalBoost,MarcoFalke/bitcoin,viacoin/viacoin,digibyte/digibyte,alecalve/bitcoin,TheBlueMatt/bitcoin,BTCGPU/BTCGPU,jambolo/bitcoin,bespike/litecoin,monacoinproject/monacoin,rawodb/bitcoin,myriadteam/myriadcoin,ElementsProject/elements,jmcorgan/bitcoin,starwels/starwels,TheBlueMatt/bitcoin,JeremyRubin/bitcoin,nikkitan/bitcoin,namecoin/namecoin-core,paveljanik/bitcoin,randy-waterhouse/bitcoin,jmcorgan/bitcoin,laudaa/bitcoin,bitcoinknots/bitcoin,AkioNak/bitcoin,MarcoFalke/bitcoin,midnightmagic/bitcoin,Kogser/bitcoin,maaku/bitcoin,CryptArc/bitcoin,stamhe/bitcoin,JeremyRubin/bitcoin,deeponion/deeponion,ppcoin/ppcoin,Xekyo/bitcoin,ajtowns/bitcoin,namecoin/namecore,bitcoinknots/bitcoin,apoelstra/bitcoin,domob1812/bitcoin,midnightmagic/bitcoin,kazcw/bitcoin,viacoin/viacoin,rawodb/bitcoin,AkioNak/bitcoin,RHavar/bitcoin,myriadteam/myriadcoin,ElementsProject/elements,midnightmagic/bitcoin,prusnak/bitcoin,r8921039/bitcoin,rnicoll/dogecoin,litecoin-project/litecoin,mitchellcash/bitcoin,1185/starwels,GroestlCoin/GroestlCoin,litecoin-project/litecoin,GlobalBoost/GlobalBoost,globaltoken/globaltoken,andreaskern/bitcoin,jmcorgan/bitcoin,midnightmagic/bitcoin,Flowdalic/bitcoin,OmniLayer/omnicore,bitcoin/bitcoin,kallewoof/bitcoin,deeponion/deeponion,rnicoll/bitcoin,domob1812/huntercore,donaloconnor/bitcoin,myriadcoin/myriadcoin,Xekyo/bitcoin,yenliangl/bitcoin,donaloconnor/bitcoin,joshrabinowitz/bitcoin,Christewart/bitcoin,wellenreiter01/Feathercoin,alecalve/bitcoin,joshrabinowitz/bitcoin,tecnovert/particl-core,bitcoinsSG/bitcoin,instagibbs/bitcoin,MarcoFalke/bitcoin,Bushstar/UFO-Project,ryanofsky/bitcoin,rnicoll/dogecoin,mruddy/bitcoin,paveljanik/bitcoin,litecoin-project/litecoin,sipsorcery/bitcoin,bespike/litecoin,CryptArc/bitcoin,RHavar/bitcoin,Bushstar/UFO-Project,Kogser/bitcoin,practicalswift/bitcoin,CryptArc/bitcoin,ericshawlinux/bitcoin,namecoin/namecore,ryanofsky/bitcoin,donaloconnor/bitcoin,maaku/bitcoin,viacoin/viacoin,lateminer/bitcoin,FeatherCoin/Feathercoin,digibyte/digibyte,digibyte/digibyte,jlopp/statoshi,achow101/bitcoin,GroestlCoin/bitcoin,pstratem/bitcoin,yenliangl/bitcoin,donaloconnor/bitcoin,afk11/bitcoin,mb300sd/bitcoin,droark/bitcoin,namecoin/namecore,EthanHeilman/bitcoin,starwels/starwels,prusnak/bitcoin,fujicoin/fujicoin,mb300sd/bitcoin,Sjors/bitcoin,dscotese/bitcoin,laudaa/bitcoin,Rav3nPL/bitcoin,apoelstra/bitcoin,particl/particl-core,domob1812/huntercore,bespike/litecoin,mm-s/bitcoin,RHavar/bitcoin,1185/starwels,vmp32k/litecoin,sipsorcery/bitcoin,alecalve/bitcoin,ericshawlinux/bitcoin,MeshCollider/bitcoin,andreaskern/bitcoin,prusnak/bitcoin,Sjors/bitcoin,GroestlCoin/bitcoin,monacoinproject/monacoin,wellenreiter01/Feathercoin,n1bor/bitcoin,lateminer/bitcoin,gjhiggins/vcoincore,sebrandon1/bitcoin,qtumproject/qtum,sstone/bitcoin,pataquets/namecoin-core,domob1812/bitcoin,MazaCoin/maza,1185/starwels,thrasher-/litecoin,pataquets/namecoin-core,ajtowns/bitcoin,fanquake/bitcoin,brandonrobertz/namecoin-core,JeremyRubin/bitcoin,Sjors/bitcoin,OmniLayer/omnicore,GroestlCoin/GroestlCoin,nikkitan/bitcoin,MazaCoin/maza,guncoin/guncoin,sebrandon1/bitcoin,MarcoFalke/bitcoin