Reordering endpoint router. Non-REST must come first.
Fixes media listeners memory leak.
Discovering media proxy via TXT record.
Merge pull request #100 from abmargb/master

DNS discovery via TXT plus minor fixes.