FEATURE: ATP-1799 ++ incorporated Benky's comments, updated docs, added a test for X-GDC-Check-Domain header (use-case recently brought up by a white-labeled customer).