fix sizing of http output buffer sizing