MUM: a Middleware for the Provisioning of Continuous Services to Mobile Users