fix #1413 use XMLRPCFactory.instantiate instead of instantiating XMLRPCClient directly

fix #1413 use XMLRPCFactory.instantiate instead of instantiating XMLRPCClient directly