[lzbuf] use malloc/free over realloc.
[lzbuf] revert back to realloc
[lzbuf] fix potential memory corruption bug.
[lzbuf] fixes
[lzbuf] fixes
[lzbuf] fixes
[lzbuf] fixes
[lzbuf] fixes
[lzq] use safe tailq_for_each.
Added lzjson: a simple JSON parser.