packet filtering improved, headers sorted
typo fixed