3.0 refactor header sending

 Refactoring header sending in Response to remove annoying exception

Also adds a fastcgi fast shutdown function in order to squeeze a few
more requests from the webserver.
Annoying indeed. Did we add this exception throwing in 2.x too?  If so that too should be reverted.