Design and implementation of a mediation system enabling secure communication among Critical Infrastructures