handling SSH multiplexing/demultiplexing asynchronously