Refactoring ShumwayStreamConverter (see bug 924571)

Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=904346#c14