A wrapper around the ws npm module that adds JSON-parsing stream interface.