According to the spec all headers (the HTTP Speci not EventSub spec) should be lower case internally/treated as lowercase. Seems PHP is leaving them as whatever they are in bound when they arrive. (Which is different in other languages)
I’ll add a fix to the logic