Java client fixes
Java client fixes

- added missing methods: 
* message
* close

- fix handling IOException in constructor;
- apply default formatting from idea

... mb it is too much for one PR :D
kswaldemar/rewind-viewer,kswaldemar/rewind-viewer,kswaldemar/rewind-viewer,kswaldemar/rewind-viewer,kswaldemar/rewind-viewer,kswaldemar/rewind-viewer,kswaldemar/rewind-viewer,kswaldemar/rewind-viewer