Version 0.4 with rudimentary TLD checking.