Fixes a bug where a client application cannot
communicate with two distinct jack daemons. Attempts
to connect to differently-named daemons would both
attach to the first daemon.
Mailing list thread:
(also patches some other problems with off-by-one
buffer sizing and potential overruns when dealing with
server_dir information in various parts of the code)