toByteStream

Convert an HttpBody variant to the corresponding ByteStream variant or null if empty.