Hash of incoming packet was incorrectly calculated

Instead of hashing an incoming packet, the network header and memory
following it were being hashed. The fixed code hashes the actual packet
contents and uses the xiasecurity library to do it.