Connection.prototype.events = {
  message(event) {
    if (!this.isProtocolSupported()) {
      return;
    }