refactored zero cpy static file handler
optimize header cacheing so that file contents and header data can be sent in a batch for small files