Add TLD > 1 extraction. Applied patch from Sebdraven.

This is still work in progress. Some broken stuff need to be fixed before the release.