Fixed error where domain names would have a null terminator after each label, instead of after the final label