Fixed small memory leak in daemon.c by CurlyMoo
Small fix in program protocol by CurlyMoo