slight refactor of websockets stream url