Add http.get() method and tests.