Add infrastructure to opt-in posting OCTET-STREAM.

Added option to post chunks as octet-stream instead of multipart-form-data.
Query parameters are passed on the url, just as with the get requests.
This allows to make server-based decisions before receiving/parsing the body.