Service-oriented middleware for the Future Internet: State of the art and research directions