Removing unused function

It used the old, non-summary way of getting the packet headers which is
not useful for all the different L7 protocols out there.