Support Python 3.0 to 3.2. Python >= 3.3 was already supported
Fix http sample