move proxy code to webproxy.og