Solution to Problem 7: HTTP Server