Cleanup usage of HTTPS