Basic support for sending files in POST

Work for #10
fixed tests multipart file upload works

fixes #10