fix validate response bug

Not sure what is the bitcoind rpc server response, but here is a response I got from an altcoin.
{
    "result": 0.00000000,
    "error": null,
    "id": 852040828182
}
With this response, the code will raise the exception: JSONRPC::Error::InvalidResponse
This commit will prevent that.