Merge pull request #3 from gvsmirnov/master

Fixed the issue with malformed legacy http requests would return no http response at all.
Fixed Legacy HTTP API failing on large files