Attachments.upload Bugfix

So there was a bug where uploading a file failed with an HPE_INVALID_CONSTANT error. This was due to wrong headers. I forked a fork (by trueter) who supposedly fixed that problem. Unfortunately his fix cause another problem, which is know fixed.

TL;DR I fixed bugs at Client#requestUplaod