Rename, rearrange, document stuff.
Respect client's advertised flow control window size when writing from Handlers.