IOT-2258: Allow secure and nonsecure endpoints with OCCreateResource.
Added new property flag OC_NONSECURE. To specify both secure and
nonsecure endpoints use OC_SECURE | OC_NONSECURE. The behavior when
neither flag is specified is OC_NONSECURE, the same as before this
change.
Bug: https://jira.iotivity.org/browse/IOT-2258
Change-Id: I12ffdff70a83455eff46d4464e234963063c4f35
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/19995
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>