Session creation and lookup in packet parser