Only propagate some headers on redirect, close #1751