I would highly recommend the library I wrote: https://github.com/microsoft/proxy. I started this work during my undergraduate studies in 2017, and I'm proud to say it is now ready for production.