added generalized sockaddr structure and ip6 sockaddr