fixing issues with thread local context
Merge branch 'master' of https://github.com/wso2/jaggery