real time chat app implemented with new socket.io (>1.0)