add optional referer for remote download