SSH2Stream: code cleanup
SSH2Stream: prevent double emit