Context-awareness for impromptu collaboration in MANETs