optimize buffered transport.