default to https_http if the proto field is nil or unknown