Bug 956328 Update stream.js

https://bugzilla.mozilla.org/show_bug.cgi?id=956328
https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/NsIRequest#isPending%28%29

Prevent NS_ERROR_UNEXPECTED exception from being thrown if the nsIRequest instance isn't paused when the resume method is called.