Fix pkg ssh client: to protocol exchange in blocking mode and read the package in non blocking mode