Called when the message is about to be received.
@override void onMessage(Object data, void Function(Object data) next) { _log(data: data, type: wsTypeResponse, next: next); }