https://github.com/majek/openonload
Onload has also has other nice features like accelerating machine-local stuff (pipes, unix sockets and other stuff).
https://github.com/majek/openonload