[SSHD-387] When using inverted streams on the client, the window should only be decreased when reading, not when writing to the pipe