workaround for servers that don't serve correct empty directory listings
fixed BaseClient#getAll for empty listings
added some tests to assure everything is working when not connected