add 40h protocol support
fix 256 detection
reconcile cherry-pick from master
bees: fix op_enc overflow and ban some pathological settings.
changelog
merge fix from dev
compile fix
debug build file to master
add release build files to master