Real fix for avahi (native and compat) w/ multiple threads

No lock for the begin/end/browse API?