Adds suport to send json and byte streaming in a single post request