SSH Gateway: implementation of command output streaming and return value handling finished.