Added feeback handling and a thread for the DNS publishing.

The thread will be replaced by AvahiThreadedPoll once I work it out