fw: Implement PBstx protocol framing

Simple protocol for transfering Protocol Buffers messages.