Java code cleanup

Deleted some useless comments in java viewer
Make sure sockets are shutdown in java viewer listen mode

The finalizer method may not be strictly necessary but for the sake
of consistency shutdown the socket listener the same way we do for
a regular TcpSocket.
Fix getSockPort methods in java TcpSocket

Although not actually used anywhere, the getSockPort method was
actually returning the the remote socket's port number.

Also simplified some of the other socket methods.
Fixed issue where java viewer in listen mode did not exit properly.

The viewer count was being incorrectly incremented, preventing the
listening viewer from exiting when the window was closed.
Merge pull request #70 from bphinz/java

Fixes for java viewer listen mode, TcpSocket methods, and code cleanup