a small proxy in C.