Added ability to upload a file (binary http body)

Issue #275