fasthash: Make reentrant.

Not a whole lot of point to making SMCP instances thread safe
if `fasthash` isn't reentrant.
smcp-inbound: Better abstracted duplicate packet detection.
Added some headers that were necessary to compile against `libsmcp`.

Fixes #15.