panel adapted to new version of socket.io