Remove unused namespace imports and added packet hexdump function