added shutdown handling
implement shutdownhandler, refactored httpResponse header processing, enhanced phpServlet and GenericServlet, refactored ThreadRequest