Brendan and I decided that EOF should be denoted by the read/write-count out-parameter being 0, not a success or failure nsresult code. This will allow JS authors to call Read/Write on streams with less overhead. Also, NS_BASE_STREAM_WOULD_BLOCK should become a failure code. This will cause an exception in JS, and require callers to deal with latent streams more explicitly.
Fixes in my tree.
Bulk move of all Necko (to be deleted component) bugs to new Networking component.