SPDY: ensure channel close happens after outbound message is written