remove unused CHUNK_SIZE
handle HTTP/1.0 keepalive case