added validate_resolveable to curl() before trying to fetch, some minor tweak improvements to validation functions