Partial conversion of mdns_socket to C++ class.