added compile flag to force java 1.6 compatibility since Matlab does not seem to like 1.7.
shortened server connection timeout to 1s
modified server so it waits for 30s and bails out cleanly if no client connects.
removed my cmake_uninstall that was erroneously committed in the repository