Strengthening validations (issue #40).
Done validating outer packets. Still have a ways to go for inner ones.