Fix sockaddr length member detection