Factor out common message to hex in RPC server.
Factor out common message to hex in RPC server.

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