That's because you don't download the file with http, but with Soldat's own protocol. First line that client sends is only name of file, nothing more. When you connected using http, server understood it as request for file named "GET /gamestat.txt HTTP/1.1", which obviously doesn't exist on server.