refactoring packet IDs
more ID extraction
Merge pull request #509 from rose-m/refactor

Refactor packet IDs
Added signer/checker using ed25519 and libsodium I wrote for fun.
Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core