Add example and tests for direct piping. Closes #131.

I was disappointed to find out we couldn't do anything more magical, e.g. automatically set Content-Length and Content-Type.