merge conn.go packet.go into session.go