obfuscatedSshConn rewrite: new tranform functions and distinct read and write states