take port numbers into account when finding a previous session from the
cache
2 files changed