Improve tests to log method / duration to System.out
Optimize test imports
Add a createBuffer method on Session that does not take a length argument, as it's really rarely used.
[SSHD-228] Introduce a Closeable interface and related utilities
Improve tests a bit
Fix some synchronisation issues that cause test to sometime fail