A callback passing the server Socket when a connection is first established.
final void Function(Socket socket)? onConnect;