Design of a nondestructive two-in-one instrument for measuring the polarization and energy spectrum at an X-ray FEL facility. (6th October 2017)