Fix failure  when use http 1.0  [ issue #491 ]

for issue #491