https://github.com/libuv/libuv/pull/3952
Has been in libuv for a year or so.

There's tricky parts though. Like:
- It's using...