[patch] Add support for handling new SSH sessions with tmux.

  This has been a bitch in my side for so long. TODAY, YOU DIE.