cleaned up readVersion/writeVersion routines in java client. readVersion wasn't failing when it should have.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4572 3789f03b-4d11-0410-bbf8-ca57d06f2519
2 files changed