title: Detect timeout on Windows and Linux with Libssh
body: <p>In the testing I'm doing I have noticed that (both with blocking mode):<br><br>
  On Linux <code>ssh_channel_read_timeout</code> when command timeout answer 0 (readBytes).<br>
  On Windows <code>ssh_channel_read_timeout</code> when command timeout answer -1 (readBytes).<br>
  Both call the same function <code>ssh_channel_read_timeout</code>.</p>
  <p>Also:<br>
  On Linux <code>ssh_channel_is_eof</code> answer <code>false</code> when command timeout.<br>
  On Windows <code>ssh_channel_is_eof</code> answer <code>true</code> when command timeout.</p>
  <p>Any hint about this different behavior ?<br>
  Or is there any effective way to detect when a timeout has been triggered ?<br><br>
  The command that is executed is very simple: <code>sleep 1 | free -m</code></p>