Remove dependency on hypermedia UDP library

Implement a DiscoveryListenerThread and use that in place of the
hypermedia stuff.