SimpleProtocol works with PTY