Also changed the downloaded file contents to not include the file length in the first byte. This makes the code a bit less confusing.
Also modified protocol to better support eof’s on list and read commands.