clone of old feedvalidator code from rubygems.org