rewritten proxy to Go