Take config block that yields the Net::HTTP request object.
Create and configure a new Net::HTTP object in one place.