Hacked up XML Security Libs based on https://code.google.com/p/xmlseclibs/