Added TCP PTY shell handler.