fix packet length bug
fix send packet bug
create a test project