Fix more warnings (mostly sign-compare)
sbc: add encoder/decoder from bludroid project, apache license