Fix error in AsyncLoader::ready() and body length
Rework tests
Fix basic_webserver