[http] Fix a couple of tests
[http] Enable online tests in Travis-CI
[http] More fixes
Merge pull request #5385 in master
Merge pull request #5523
Merge pull request #5523 in develop