fixed: sockaddr struct requires <sys/socket.h> on solaris. fixes #97.