Move session management to transports