header to long, doesn't need to end with null character
fixed http client so it handles http frames split in multiple packets, added a file download option to the server