Working on x-domain request to the bitcoinrpc server