[network] Declare <in-addr-t> as unsigned int

Fixes #479
Merge pull request #480 from fracek/socket-error-111-fix

[network] Declare <in-addr-t> as unsigned int