add namespaceAware flag
Merge https://github.com/js1972/PI_SessionKeyLib