How to Trace Subrequests of my Middleware?

Simply but, how do i do Subrequests inside a Middleware, so they are shown in the Trace of the Request?

If this is not possible jet, it would be a very important feature, so the visibility of middlewares will be greatly improved.

For our context:
We are creating a middleware to resolve SSI (Server Side includes) very similar to ESI (Edge Side Includes). The middleware is doing a lot of subrequests to get all the HTML Snippets. To be able to identify slow HTML Snippets, we need to have them inside the Trace of the User Request.