COOPR 542: Add ability to configure UI to use TLS

SSL/TLS implemented for coopr-ui.
The "function" label isn't necessary and causes issues on some shells.