update goagent/proxy.py