In my application, I need to be able to count in/out bytes on per-session basis.  I will be more than happy with something like this:

class com.jcraft.jsch.Session {
...
long getReadBytesCount() { ... }
long getWriteBytesCount() { ... }
void resetBytesCount() { ... }
...
}

Two questions. One is to "JSch users". Does it sound like generally useful functionality? Another one to Atsuhiko, if I provide patch which implements these methods, will you be willing to include it into "official" source tree?

Andrei