Updated flashlight to use TLS to work with CloudFlare #1653