Java SSH client implementation + xterm emulation