Don't allow adding servlet context listeners from servlet context listeners
Don't set isAsyncStarted() to false till after the request has returned to the container
Remove all attributes before destroying the session to make sure
session listeners are invoked
Don't set content length when using a writer, as we don't know the final
length.