Need typecast operator to (const sockaddr) for IPAddress

There are some operations (like POSIX system calls, e.g. ioctl, setsockopt, etc) that require a sockaddr.

Having a cast operator to sockaddr would simplify setting up such operations.