support https, and allow configuratoin of http
Reviewers: WOPI Developers
Differential Revision: https://git.kolab.org/D254