refine search start conditions - restart a search only if there are no valid results or more than half of the search result buckets lifetime has expired
limit sending socket for local peer discovery to DHT interface - also refactor some networking code