Implement PTY::open (WIP)