Add byte buffer

This adds a bpp method to `ws_buffer`
It wouldn't compile else (C99 doesn't allow forward declaration)