Try to get the local address of a socket connection.
a SocketConnection
a SocketAddress or null on error. Free the returned object with unref.