Bootstrapping security associations in opportunistic networks