converted webserver to streaming approach instead of readfile, this improves performance and also fixes problems with scrambled binary files (probably skips text conversion).