add packet encrypt support, add a not encrypt for demo