- Adding basic packet handling.

Signed-off-by: Kevin <kevainxxx@gmail.com>