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