a simple chat pub sub with socket.io