added connection-level flow control and tests

This is the last step needed to bump spdy to spdy 3.1.  It is also the same in http/2.