local socket.io communication