Updated some portions of proxy.c