socket.io for every environment