Fix for using he same keep-alive connection to perform several requests ...

I'm using the same connection to perform several requests to the same host and URL with different options. Before this fix here were problems with reading chunked content in the second reply. This fix reset flags to the original values on each new request