Throw an Exception when the header is already been sent

Please see the details of the discussion at  issue #3990
Didn't we want to add this only in debug mode?. Especially if you target master here!
Also, then translation is probably not necessary and deprecated (and removed in 3.0 anyway).