Only interpose on SSH session channels if/once a pty-req has been sent by the client
This fixes behavior for one-off command executions that don't allocate a PTY (e.g. ssh user@host uptime
), or things like SFTP (which are sessions that initiate a different sub-system).