Implementation Of A Middleware Architecture For Collaboration Among Mobile Devices In Opportunistic Networks.