For variable length headers like ByteBuf and Strings, we currently crash if the value of header is 0. This PR fixes handling of variable length headers with 0 length.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.