start to break out link between socket and session