Added connection_helper middleware (on by default) to set closing headers