Tested and debugged all functions in proxy_structures.h / proxy_sturctures.c.