Layer 4 vs. Layer 7 Load Balancing: Understanding and Practical Applications