Resize byte_array to accomodate requested header size.

Fixes ACK packet crash in stream_channel::transmit_ack().