Initial support for pseudo-tty creation