Fix secure detection
Merge pull request #2 from tomcastleman/3.2/master

Fix secure detection
Merge branch '3.2/master' into 3.3/develop