Proxy Server - C language