Uses newly renamed HTTP headers. Shuts down cleanly