Restored chat functionality.

socket.io.controller
  Now conforms to the current protocol for the chat.