Add header size to stream

- Fix BNF description.
- Remove direct buffer accessibility from transport.