This commit adds support in the sample to deal with the case when TLS is offloaded and mbedtls is not necessary. Signed-off-by: Vincent Wan <vincent.wan@linaro.org>