Fix the way to get a session over a telnet connection
Land #2292 - Fix the way to get a session over a telnet connection