code: @Ready(encoders = {JacksonEncoder.class})
      @DeliverTo(DeliverTo.DELIVER_TO.ALL)
      public ChatProtocol onReady(final AtmosphereResource r) {
          logger.info("Browser {} connected.", r.uuid());
  
          return new ChatProtocol(users.keySet(), getRooms(factory.lookupAll()));
      }
docs: Invoked when the connection as been fully established and suspended, e.g ready for receiving messages.
  
  @param r