Workaround for potential failure to read the version string if the data isn't already in the buffer. May need further consideration, the problem can't be reproduced with the binary viewer.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4870 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/java/com/tigervnc/rfb/ConnParams.java b/java/com/tigervnc/rfb/ConnParams.java
index 7fac126..e3c3a82 100644
--- a/java/com/tigervnc/rfb/ConnParams.java
+++ b/java/com/tigervnc/rfb/ConnParams.java
@@ -47,7 +47,7 @@
   {
     if (verStrPos >= 12) return false;
     verStr = new StringBuilder(13);
-    while (verStrPos < 12 && is.checkNoWait(1)) {
+    while (verStrPos < 12) {
       verStr.insert(verStrPos++,(char)is.readU8());
     }