dummy proxy POC rewritten from bash to python