A Middleware for Targeted Marketing in Spontaneous Social Communities