Expose addr method from UDPSocket.

This comes in handy for determining an initialized sockets address family, for example.