Privacy in content-based opportunistic networks