TIMOB-12925  implement FLAG_SECURE

https://jira.appcelerator.org/browse/TIMOB-12925