working on removing stncpy from zproxy.c