Solution to Problem 8: HTTP Client