[FIX] HTTP: Fixes in HTTP constructor. Closes #1009.