start to set up a proxy support, need tests
proxy