MEDIUM: connection: make mux->detach() release the connection

For H2, only the mux's timeout or other conditions might cause a
release of the mux and the connection, no stream should be allowed
to kill such a shared connection. So a stream will only detach using
cs_destroy() which will call mux->detach() then free the cs.

For now it's only handled by mux_pt. The goal is that the data layer
never has to care about the connection, which will have to be released
depending on the mux's mood.
diff --git a/include/proto/connection.h b/include/proto/connection.h
index cae5dc3..4c952e0 100644
--- a/include/proto/connection.h
+++ b/include/proto/connection.h
@@ -694,12 +694,7 @@
 /* Release a conn_stream, and kill the connection if it was the last one */
 static inline void cs_destroy(struct conn_stream *cs)
 {
-	struct connection *conn = cs->conn;
-
-	LIST_DEL(&conn->list);
-	conn_stop_tracking(conn);
-	conn_full_close(conn);
-	conn_free(conn);
+	cs->conn->mux->detach(cs);
 	cs_free(cs);
 }