cli: add ipv6 and onion address type detection helpers
cli: add ipv6 and onion address type detection helpers

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