Take the code that does flow control in SSH-1, and make it work in SSH-2