makefile: add dialyzer target
unixsock: return error tuples instead of crashing