Merge pull request #3983 from pks-t/pks/smart-early-eof transports: smart: abort on early end of stream