COOPR 542: Add ability to configure UI to use TLS

SSL/TLS implemented for coopr-ui.
Unfortunately it was not done by me. I'll ask guys to review this code.