Could this whole `gotMessage` function be replaced with `this.handler.bind(this)` ?