Added TLS support for oss_core main app