Fix up some issues with SPDY close behaviour