Reintroduce fix for Chrome Canary overstating frame size
Muffle socket closed error on writes