URLs without hosts vanish

In transforming a UTF-8 URL into a Punycode URL the given URL should be returned unmodified if it doesn't contain a host name.