howdoi: Moved http/https setup to beginning of file