It allows protocols other than HTTP to talk to the socket, like Gemini or Gopher.
[1]: https://dillo-browser.github.io/
unix:///tmp/my.sock
echo 'unix:/tmp/my.sock weather.unix' >> ~/.config/unix.hosts dillo http://weather.unix/today/