sessionmanager: Do not shadow the class-global socket.