Add support for framed bytes serialization and deserialization.