[Http] Fixes

This PR enable HTTP online tests in Travis-CI and fix some discrepancies between tests and implementation