Send window update after the peer sends half the limit on a stream or connection

This is the final change for connection-level flow control in spdy or http/2.