Allows address sanitizer to detect buffer overflow by
using special packet buffer when compiled with address sanitizer
support (autodetected clang and gcc).
- Improved detection code for json-c package to use pkg-config
with custom search path that includes /usr/local
- Added optional option --disable-json-c to disable json-c package for
reducing runtime dependencies.