tests/unix_sockets: Add get_resource()