Revert "session: avoid packet boundary error"

This reverts commit 8d4a9bf6c25deded6f75c6086e2c2820c1c97d6d.
session: avoid packet boundary error
session: remove redundant length info