Https enforcement

Added enforcement of https. 
@lfryc @abstractj @matzew mind to check? Thanks!