match tcp output channel size to http output