rewrote everything to use CFNetServices instead of NSNetServices- now works on osx and ios