Portable version of OpenBSD's imsg interface
