Both the server and the client need a way to initiate a clean shutdown. The process should be: * Stop accepting new streams * Wait until all existing streams are complete * Send a GO_AWAY frame * Close the connection.