Ubuntu. How to debug unix sockets like telnet

If you need to debug unix sockets like telnet service you can use netcat utility.

The syntax is:

$ nc -U /var/run/.../unixsocket.sock