Improved logging.
Added post quote commands for FTP.
Split some API into separate categories in standalone headers, so that not all of it needs to be available outside the framework.
Add more options to make this test case more like the situation(s) where we're seeing crashes and/or stalls.