SSH2Stream: fix inconsistency
SSH2Stream: add terminal mode parsing
SSH2Stream: add missing cast to boolean
SSH2Stream: x11 auth cookie is a hex-encoded string