canSendHeaders()
canSendHeaders() : boolean
Can we at this point in time send HTTP headers?
Currently this checks if we are even serving an HTTP request, as opposed to running from a command line.
If we are serving an HTTP request, we check if it's not too late.