Enable HTTPS by default

Will contain fixes for various HTTPS-related issues.