Fixed problems with HTTP requests not downloading fully (closes #562)
Merge pull request #571 from ovatsus/master

Fixed problems with HTTP requests not downloading fully (closes #562)