A callback passing the server Socket and any sent data as a Uint8List coming from the server.
final void Function(Socket socket, Uint8List data)? onReceive;