Completed http-client exercise.