Working on connection messages , and session handling