FS-6141 --resolve mod_rayo - fixed X-headers on redirect and updated to satisfy recent spec changes