Add TODOs for untest code
fix module comments
minor code formatting
Fix the loop check in SSHEntity

SSHEntity was checking only if the remote process ended execution. However,
it was returning before reading the full buffer.