connection.py: request pty for rpyc