(hopefully) Fix segfault in dnssd.

Initialize pointers to NULL and use malloc()
instead of asprintf.
Merge pull request #2 from hawkinswnaf/release-0.6.5

(hopefully) Fix segfault in dnssd.