Return true/false response from set_bit_safe
Check for overflow in _set_bit_safe
Rebuild _set_bit_safe to encode from L to R
Fix bit ordering
Merge branch 'feature/revised_payload' into develop