Fix #293: "addinfourl instance has no attribute id"