Don't send a window update if the length is zero.
Sending a SETTINGS frame after the preface, as required by the spec.
Waiting for all the frames to arrive before stopping.