fix the delayed transfer for HTTP requests

Signed-off-by: Ralph Bergmann <ralph@the4thfloor.eu>
Merge pull request #1140 from the4thfloor/delayedHTTPResponse

fix the delayed transfer for HTTP requests