HTTP server: fix requests that are larger than 1024bytes
Merge pull request #1315 from zeha/fix-requests-larger-than-1024

HTTP server: fix requests that are larger than 1024bytes