SFTPStream: fix parameter name inconsistency
lib: debug output for malformed packets