fixed reading for HTTP 1.0.