I did it on my fork of vibe.d but I could not find a way to make a pull request with only that commit so here is the link for the commit (on this commit also there is some small changes to other parts that I found usefull):

https://github.com/mingodad/vibe.d/commit/7f0c91b072ccf92420c04ca28567f7cfe06d79bc