Increase the max PACKETSIZE to 8192.
diff --git a/java/JavaSocketBridge.java b/java/JavaSocketBridge.java
index cd5648e..d484103 100644
--- a/java/JavaSocketBridge.java
+++ b/java/JavaSocketBridge.java
@@ -43,7 +43,7 @@
 

 

 

-	private final static int PACKETSIZE = 2000 ;

+	private final static int PACKETSIZE = 8192 ;

 	// Instance variables

 	static JSObject browser = null;		// The browser