Adds global before/after advice to Net::HTTP