bitcoin-api 0.9 legacy compatibility

To communicate with bitcoin version 0.9 use the BtcJsonLegacy class instead of BtcJson.