[bugfix] A regression was introduced in Git commit dbb3035 which closed the input stream of HTTP Request bodies too early when they were binary values. This commit fixes that.