Don't use set_url_scheme() because it assumes SSL by default