Building a Feature-Rich Load Balancer in TypeScript: A Detailed Overview