Add proper detection of folders
Fix size computation for folders when MLST is not supoorted
Workaround for the weird behaviour of nlst function when multiple subdirectories are used
Format urls when spaces are present in directories name