Rename 'stream' to 'socket'/'ws'