JXTK2 JSONRPC Interface

- Create a JXTK2.JSONRPC.Proxy pointing to your server proxy URL

var ss = new JXTK2.JSONRPC.Proxy('/plugins/RPC/rpc.js');

- Three calling options: synchronous, asynchronous with callback, and background

- Example synchronous call:
var resp = ss.call("slim.doCommand", [ undefined, [ "player", "count", "?" ] ]);

- Example asynchronous call:

ss.call(
	"slim.doCommand",
	[ undefined, [ "player", "count", "?" ] ],
	function (resp) {
		alert("Returned " + resp.result.join(' '));
	}
);

- Example background call:
ss.call("slim.doCommand", [ undefined, [ "player", "count", "?" ] ], true);

