support binary body for http requests