Fix --onion.
Fix --onion.

The configured onion proxy was not being used due to checking if the
passed string had suffix '.onion', which never matched because the
port number is part of the string.

Dirbaio/btcd,decred/dcrd,mathiasrw/btcd,hectorj/btcd,qchain/btcd,aakselrod/btcd,jrick/btcd,jcmincke/dcrd,dan-da/btcd,davecgh/btcd,BitGo/prova,mathiasrw/btcd,Cleawing/btcd,dajohi/btcd,wallclockbuilder/btcd,ltcsuite/ltcd,jrick/btcd,Roasbeef/btcd,tb00/btcd,Cleawing/btcd,jcmincke/dcrd,CryptocurrencyCabal/htcd,qchain/btcd,CryptocurrencyCabal/htcd,cqswxj2013/btcd,btcsuite/btcd,Stash-Crypto/btcd,wallclockbuilder/btcd,btcsuite/btcd,cqswxj2013/btcd,jrick/dcrd,jcmincke/dcrd,runeaune/btcd,ltcsuite/ltcd,toddfries/btcd,tb00/btcd,ppcsuite/ppcd,glv2/ppcd,dajohi/btcd,pkothbauer/btcd,Roasbeef/btcd,Dirbaio/btcd,soapboxsys/ombfullnode,ppcsuite/ppcd,danoctavian/btcd,davecgh/btcd,aakselrod/btcd,Dirbaio/btcd,runeaune/btcd,Stash-Crypto/btcd,glv2/ppcd,danoctavian/btcd,adiabat/btcd,dan-da/btcd,jongillham/btcd,1d4Nf6/btcd,soapboxsys/ombfullnode,jongillham/btcd,pkothbauer/btcd,BitGo/prova,toddfries/btcd,jrick/dcrd,dajohi/btcd,decred/dcrd,jrick/btcd,stevenroose/btcd,1d4Nf6/btcd,adiabat/btcd,hectorj/btcd,stevenroose/btcd