Hi, I have read nginx code, and how to write plugins, will implement probably in several hours. Have non-occupied home server with external IPv4, will test at it and you can too.
Have written Linux kernel modules, very professional at writing good C code.