Fixed reference to undefined sa_len member of struct sockadder.
Fixed warnings.
Fixed bug introduced by "fixing" warnings.
Merge branch 'cody' into development