Streaming reader and parser for http file uploading based on ngx_lua cosocket