jansson: change function test to be sure of version
configure: add --enable-unix-socket flag

This new flag allows the user to force unix socket build or to
disallow it completely. Default which is test is maintained.
configure: use correct syntax for help string