This write up is excellent, well done! Thank you for your effort into researching this problem and working on a solution. As the original creator of the proxy-related code in Metepreter I can honestly tell you that it was an absolute headache even getting it to work in the way that it did.
I’m very interested in working with you to get your work included in the master branch so that everyone can benefit from what you’ve done. I have sent you an email to discuss further.
Thanks again for your efforts and for putting so much time into this post. The quality of this work is excellent.