gweb: Adding a function to know if TLS is supported or not