add headers and query string on redirect

Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com>