Added xml security helper and associated test harness