minor packet handling updates
Merge branch 'master' of git://github.com/simsong/be13_api