A Service Oriented Solution for Interoperable Networks in Smart Public Spaces