use http.host for https if not set