ssh: abort immediately on a header callback error
ssh: removed a redundant close state transition
test640/1: add tests for --head with sftp and scp

This option is currently rather useless with these protocols
when no quote command is given, but it is valid.
docs: fixed a bunch of typos