Introduce makeUNsockaddr and have everybody use it

makeUNsockaddr does the length check in a central place, and calling
code should be a bit more readable now.
Merge pull request #976 from zeha/sockaddr_un

Introduce makeUNsockaddr and have everybody use it