support listening unix domain socket.
fix spots pointed out from author.

 * use `struct sockaddr_storage` instead of `struct sockaddr_un`
 * use `port` and `type` instead of `unix:`
 * use `switch` statement
report type that is neither "unix" nor "tcp" as error
add support for unix socket (merge branch 'kazuho/pr/45', close #45)