Add request_pty option to force allocating PTY

Also showing error message if sudo require tty