Fix unmarshaling of HTTP POST responses.
Fix unmarshaling of HTTP POST responses.

If connecting to a bitcoin RPC server as an HTTP POST client, full
response objects rather than just the raw result bytes were being
passed to the specific result unmarshalers, causing unmarshal errors
for the incorrect JSON types.  To fix this, first unmarshal the
response body into a rawResponse, and pass only the raw result bytes
(or an error) to the specific handlers.

This was reported by nskelsey on IRC.

ok @davecgh

btcsuite/btcrpcclient,btcsuite/btcrpcclient,Roasbeef/btcd,decred/dcrd,Roasbeef/btcd,FactomProject/btcrpcclient,jrick/btcrpcclient,runeaune/btcrpcclient,runeaune/btcrpcclient,tb00/btcd,dajohi/btcd,Stash-Crypto/btcd,aakselrod/btcrpcclient,ppcsuite/ppcd,wallclockbuilder/btcrpcclient,aakselrod/btcrpcclient,jrick/btcd,davecgh/btcd,aakselrod/btcd,ppcsuite/btcrpcclient,FactomProject/btcrpcclient,aakselrod/btcd,ltcsuite/ltcd,ppcsuite/btcrpcclient,Stash-Crypto/btcd,jrick/btcd,davecgh/btcd,btcsuite/btcd,jrick/btcrpcclient,dajohi/btcd,dajohi/btcd,btcsuite/btcd,wallclockbuilder/btcrpcclient,decred/dcrd,ltcsuite/ltcd,wallclockbuilder/btcd,jrick/dcrd,jrick/dcrd,davecgh/btcrpcclient,tb00/btcd,wallclockbuilder/btcd,ppcsuite/ppcd,jrick/btcd