openssl: use termios instead of termio