Send EOF to the remote on input EOF. Makes it possible to pipe stuff to heroku run.
Merge pull request #811 from dividedmind/remote-eof

Send EOF to the remote on input EOF