Setup main to perform a dnssd lookup
Changed getNextSRVRecord to return an iterable of SRVRecords