Some optimizations in Packet class for better readibility and less bugs on version checking.
Merge pull request #6 from TheJeterLP/master

Some optimizations in Packet class for better readibility and less bugs on checking version.