fixed the bytes to send bug, perf is now on par with the static file server