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.
returns