#72: strip out any headers that would be passed on as `undefined`