Merge changes Iac97c342,I52518d52

* changes:
  Enable sendfile() and splice() optimizations.
  Use sendfile() and splice() to speed up copying.