[refactor] Simplified server's browser stream handling logic. Much less code now.