Slow input stream patch, bug 13478 Thanks Tony Chao and Chris Nokleberg Added to HEAD, not fully tested, since HEAD is unstable atm. fully tested in Branch